Fixed watchdog timer initialization value.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user