From 7b5573ef0f0d4a130a7e6534b67aebd70bb8245c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BCppers?= Date: Wed, 24 Sep 2014 19:47:47 +0200 Subject: [PATCH] It looks like Atmel changed the naming of some defines in the avr-libc --- Firmware/Chameleon-Mini/System.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/Chameleon-Mini/System.c b/Firmware/Chameleon-Mini/System.c index 7c6fe83..b94d960 100644 --- a/Firmware/Chameleon-Mini/System.c +++ b/Firmware/Chameleon-Mini/System.c @@ -110,7 +110,7 @@ void SystemEnterBootloader(void) { /* Use Watchdog timer to reset into bootloader. */ CCP = CCP_IOREG_gc; - WDT.CTRL = WDT_PER_500CLK_gc | WDT_ENABLE_bm | WDT_CEN_bm; + WDT.CTRL = WDT_PER_512CLK_gc | WDT_ENABLE_bm | WDT_CEN_bm; }