sky simulation bug workaround: explicit write to compare register wakes up timer scheduling again

This commit is contained in:
fros4943 2010-03-31 13:15:32 +00:00
parent 4e33112d3e
commit 170e4d6a99

View File

@ -105,6 +105,7 @@ PROCESS(checkpoint_button_process, "Rollback on button");
#define RESUME_TIME() \ #define RESUME_TIME() \
TACTL |= MC1; \ TACTL |= MC1; \
TBCTL |= MC1; \ TBCTL |= MC1; \
TACCR1 = clock_fine_max(); \
watchdog_start(); watchdog_start();
#define PAUSE_TIME_INT() \ #define PAUSE_TIME_INT() \
dint(); \ dint(); \