28a563a24b
During PM1+, the hardware timer used to implement the Contiki clock is frozen, so clock_adjust() needs to be called when exiting those modes in order to compensate for the clock ticks missed while the timer was frozen. Doing so changes the Contiki clock time, so etimer_request_poll() needs to be called in order to inform the etimer library that an etimer might have expired. Note that waiting for the next clock ISR to call etimer_request_poll() is unreliable because the system might go back to sleep beforehand. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
.. | ||
6502 | ||
arm | ||
avr | ||
cc253x | ||
cc2430 | ||
cc2538 | ||
mc1322x | ||
msp430 | ||
native | ||
pic32 | ||
stm32w108 | ||
x86 |