Browse Source

Fix bootloader address bug

pull/8/head
Matthew C 1 year ago committed by GitHub
parent
commit
ff893e2152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bootloader.c

2
bootloader.c

@ -26,7 +26,7 @@ void enterBootLoader(void) @@ -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"

Loading…
Cancel
Save