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