From e8b2adc36a329fa2fe7673dbc3ae372e30dba078 Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Sat, 27 Aug 2011 07:00:07 -0400 Subject: bootloader ends as soon as sketch upload finishes. restored pulsing of LED while bootloader running. --- bootloaders/diskloader/src/DiskLoader.cpp | 1 + bootloaders/diskloader/src/USBCore.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'bootloaders/diskloader/src') diff --git a/bootloaders/diskloader/src/DiskLoader.cpp b/bootloaders/diskloader/src/DiskLoader.cpp index bc1e026..9ecbc4b 100644 --- a/bootloaders/diskloader/src/DiskLoader.cpp +++ b/bootloaders/diskloader/src/DiskLoader.cpp @@ -218,6 +218,7 @@ int main() if (cmd == 'Q') break; } + _timeout = 1; // signal to exit the bootloader _ejected = 1; } } diff --git a/bootloaders/diskloader/src/USBCore.cpp b/bootloaders/diskloader/src/USBCore.cpp index 52b960a..8b071a1 100644 --- a/bootloaders/diskloader/src/USBCore.cpp +++ b/bootloaders/diskloader/src/USBCore.cpp @@ -520,7 +520,7 @@ int USBGetChar() Reboot(); // USB not connected, run firmware } -// LEDPulse(); + LEDPulse(); } return -1; } -- cgit v1.2.3-18-g5258