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:
Benjamin Valentin 2020-02-04 13:20:56 +01:00
parent 596d02387f
commit 1155172106

View File

@ -68,16 +68,6 @@ int rtc_set_time(struct tm *localt)
return 0; 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) int rtc_get_time(struct tm *localt)
{ {
uint8_t success = 0; uint8_t success = 0;