1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #13279 from benpicco/cc430-rtc-cleanup

cpu/cc430: rtc: remove dead code
This commit is contained in:
benpicco 2020-02-04 16:56:44 +01:00 committed by GitHub
commit 4fb2770fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,16 +68,6 @@ int rtc_set_time(struct tm *localt)
return 0;
}
/*---------------------------------------------------------------------------
time_t rtc_time(void) {
time_t sec;
struct tm t;
rtc_get_localtime(&t);
sec = mktime(&t);
return sec;
}
*/
int rtc_get_time(struct tm *localt)
{
uint8_t success = 0;