mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
sky simulation bug workaround: explicit write to compare register wakes up timer scheduling again
This commit is contained in:
parent
4e33112d3e
commit
170e4d6a99
@ -105,6 +105,7 @@ PROCESS(checkpoint_button_process, "Rollback on button");
|
||||
#define RESUME_TIME() \
|
||||
TACTL |= MC1; \
|
||||
TBCTL |= MC1; \
|
||||
TACCR1 = clock_fine_max(); \
|
||||
watchdog_start();
|
||||
#define PAUSE_TIME_INT() \
|
||||
dint(); \
|
||||
|
Loading…
Reference in New Issue
Block a user