tests/periph_pm: drop use of mktime()
The RTC implementation are expected to normalize the input struct.
This commit is contained in:
parent
80b300289d
commit
ffdb115ffe
@ -112,7 +112,6 @@ static int cmd_unblock_rtc(int argc, char **argv)
|
||||
|
||||
rtc_get_time(&time);
|
||||
time.tm_sec += duration;
|
||||
mktime(&time);
|
||||
rtc_set_alarm(&time, cb_rtc, (void *)mode);
|
||||
|
||||
pm_unblock(mode);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user