Fix bootloader address bug

This commit is contained in:
Matthew C 2021-10-29 21:40:01 +01:00 committed by GitHub
parent 52eea713be
commit ff893e2152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ void enterBootLoader(void)
usb_shutdown();
_delay_ms(10);
#if defined(__AVR_ATmega32U2__)
#if defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega32U4__)
// ATmega32u2 : 0x3800
asm volatile(
"cli \n"