cpu/cc430: rtc: remove dead code
The commented-out block does provide no value and is confusing when using `grep`.
This commit is contained in:
parent
596d02387f
commit
1155172106
@ -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