aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/ManPages/SoftwareBootloaderJump.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/ManPages/SoftwareBootloaderJump.txt')
-rw-r--r--LUFA/ManPages/SoftwareBootloaderJump.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt
index 1b284e4cd..ca8d8ee7c 100644
--- a/LUFA/ManPages/SoftwareBootloaderJump.txt
+++ b/LUFA/ManPages/SoftwareBootloaderJump.txt
@@ -44,8 +44,13 @@
*
* void Jump_To_Bootloader(void)
* {
- * // If USB is used, detatch from the bus and wait 2 seconds for the host to register it
+ * // If USB is used, detatch from the bus
* USB_ShutDown();
+ *
+ * // Disable all interrupts
+ * cli();
+ *
+ * // Wait two seconds for the USB detatchment to register on the host
* for (uint8_t i = 0; i < 128; i++)
* _delay_ms(16);
*