aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/ManPages/SoftwareBootloaderJump.txt
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-19 10:53:14 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-19 10:53:14 +0000
commitd92e9133d392fe9abfde27b60b27b24f3b142fc3 (patch)
treef35522ea3de40eba6faf610426cd18ec3474ae39 /LUFA/ManPages/SoftwareBootloaderJump.txt
parentfc8e4837a936bb1b4bd19bdd54660878b3efe02c (diff)
downloadlufa-d92e9133d392fe9abfde27b60b27b24f3b142fc3.tar.gz
lufa-d92e9133d392fe9abfde27b60b27b24f3b142fc3.tar.bz2
lufa-d92e9133d392fe9abfde27b60b27b24f3b142fc3.zip
Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
Minor documentation improvements.
Diffstat (limited to 'LUFA/ManPages/SoftwareBootloaderJump.txt')
-rw-r--r--LUFA/ManPages/SoftwareBootloaderJump.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt
index 82fce4a6d..3f6e30582 100644
--- a/LUFA/ManPages/SoftwareBootloaderJump.txt
+++ b/LUFA/ManPages/SoftwareBootloaderJump.txt
@@ -34,8 +34,8 @@
* void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3);
* void Bootloader_Jump_Check(void)
* {
- * // If the bootloader key is correct, clear it and jump to the bootloader
- * if (Boot_Key == MAGIC_BOOT_KEY)
+ * // If the reset source was the bootloader and the key is correct, clear it and jump to the bootloader
+ * if ((MCUSR & (1<<WDRF)) && (Boot_Key == MAGIC_BOOT_KEY))
* {
* Boot_Key = 0;
* ((void (*)(void))BOOTLOADER_START_ADDRESS)();