triface: disable watchdog during the initialization routine.
[bertos.git] / boards / triface / examples / triface / main.c
index 74ed75e951f1086a8e62bc612f1d918486ea53c7..805ce443cfae569e4c42fbcba2d196c83861f4fb 100644 (file)
@@ -73,8 +73,10 @@ static void init(void)
        timer_init();
        adc_init();
        buz_init();
+       MCUSR = 0;
+       wdt_disable();
 
-       INPUT_INIT;
+       INPUT_INIT();
 }
 
 int main(void)