tests/periph_pm: drop use of mktime()

The RTC implementation are expected to normalize the input struct.
This commit is contained in:
Benjamin Valentin 2020-03-30 19:37:07 +02:00
parent 80b300289d
commit ffdb115ffe

View File

@ -112,7 +112,6 @@ static int cmd_unblock_rtc(int argc, char **argv)
rtc_get_time(&time); rtc_get_time(&time);
time.tm_sec += duration; time.tm_sec += duration;
mktime(&time);
rtc_set_alarm(&time, cb_rtc, (void *)mode); rtc_set_alarm(&time, cb_rtc, (void *)mode);
pm_unblock(mode); pm_unblock(mode);