Skip to content

Commit bcaeddc

Browse files
Ganesh RamachandranGanesh Ramachandran
authored andcommitted
Removed dead code in TMPM4G9 - rtc_api.c
1 parent 6eb07c1 commit bcaeddc

File tree

1 file changed

+0
-2
lines changed
  • targets/TARGET_TOSHIBA/TARGET_TMPM4G9

1 file changed

+0
-2
lines changed

targets/TARGET_TOSHIBA/TARGET_TMPM4G9/rtc_api.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ time_t rtc_read(void)
135135
} while (read_1 != read_2);
136136
timeinfo.tm_year = (HEX2DEC(read_1)+ diff_year);
137137

138-
//time_t t = mktime(&timeinfo); // Convert to time stamp
139138
time_t t;
140-
141139
if (_rtc_maketime(&timeinfo, &t, RTC_4_YEAR_LEAP_YEAR_SUPPORT) == false) {
142140
return 0;
143141
}

0 commit comments

Comments
 (0)