mirror of
https://github.com/RfidResearchGroup/ChameleonMini.git
synced 2026-05-12 11:20:37 -07:00
It looks like Atmel changed the naming of some defines in the avr-libc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user