mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
Fix bootloader address bug
This commit is contained in:
parent
52eea713be
commit
ff893e2152
@ -26,7 +26,7 @@ void enterBootLoader(void)
|
|||||||
usb_shutdown();
|
usb_shutdown();
|
||||||
_delay_ms(10);
|
_delay_ms(10);
|
||||||
|
|
||||||
#if defined(__AVR_ATmega32U2__)
|
#if defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega32U4__)
|
||||||
// ATmega32u2 : 0x3800
|
// ATmega32u2 : 0x3800
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"cli \n"
|
"cli \n"
|
||||||
|
Loading…
Reference in New Issue
Block a user