diff options
Diffstat (limited to 'Projects/Benito/Benito.c')
-rw-r--r-- | Projects/Benito/Benito.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index 7f5d507cf..a89e6caf6 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -171,10 +171,15 @@ int main(void) /** Configures the board hardware and chip peripherals for the demo's functionality. */ void SetupHardware(void) { +#if (ARCH == ARCH_AVR8) /* Disable watchdog if enabled by bootloader/fuses */ MCUSR &= ~(1 << WDRF); wdt_disable(); + /* Disable clock division */ + clock_prescale_set(clock_div_1); +#endif + /* Hardware Initialization */ LEDs_Init(); USB_Init(); |