Skip to content

Commit 9cb65b2

Browse files
committed
restored original non-interrupt-driven DiskLoader
Interrupt-driven version was a dead-end - too many bugs with that approach.
1 parent e82249c commit 9cb65b2

File tree

1 file changed

+1
-1
lines changed
  • hardware/arduino/cores/arduino

1 file changed

+1
-1
lines changed

hardware/arduino/cores/arduino/CDC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void Reboot()
2727
{
2828
USB.detach();
2929
cli();
30-
asm volatile("jmp 0x7000"); // jump to bootloader - DiskLoader lives in the last 4kB of Flash
30+
asm volatile("jmp 0x7800"); // jump to bootloader - DiskLoader takes up last 2 kB
3131
}
3232

3333
typedef struct

0 commit comments

Comments
 (0)