From 170e4d6a996934d7b3b04f49a5f60f2b672575f1 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 31 Mar 2010 13:15:32 +0000 Subject: [PATCH] sky simulation bug workaround: explicit write to compare register wakes up timer scheduling again --- platform/sky/checkpoint-arch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/sky/checkpoint-arch.c b/platform/sky/checkpoint-arch.c index 209c41f23..c958c4a2a 100644 --- a/platform/sky/checkpoint-arch.c +++ b/platform/sky/checkpoint-arch.c @@ -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(); \