aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src
diff options
context:
space:
mode:
Diffstat (limited to 'bootloaders/diskloader/src')
-rw-r--r--bootloaders/diskloader/src/DiskLoader.cpp1
-rw-r--r--bootloaders/diskloader/src/USBCore.cpp2
2 files changed, 2 insertions, 1 deletions
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;
}