Fixed watchdog timer initialization value.

This commit is contained in:
skarg
2010-12-11 21:38:52 +00:00
parent d1db062db8
commit 4ef20d370a
2 changed files with 9 additions and 16 deletions
-7
View File
@@ -23,7 +23,6 @@
*
*********************************************************************/
#include "hardware.h"
#include "watchdog.h"
/* me */
#include "init.h"
@@ -62,10 +61,4 @@ void init(
PORTC = 0;
DDRD = 0;
PORTD = 0;
/* Configure the watchdog timer - Disabled for debugging */
#ifdef NDEBUG
watchdog_init(WDTO_2S);
#else
watchdog_init(0);
#endif
}