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:
commit
4fb2770fe8
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user