Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
[pub/USBasp.git] / LUFA / ManPages / SoftwareBootloaderJump.txt
index 82fce4a..3f6e305 100644 (file)
@@ -34,8 +34,8 @@
  *  void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3);\r
  *  void Bootloader_Jump_Check(void)\r
  *  {\r
- *      // If the bootloader key is correct, clear it and jump to the bootloader\r
- *      if (Boot_Key == MAGIC_BOOT_KEY)\r
+ *      // If the reset source was the bootloader and the key is correct, clear it and jump to the bootloader\r
+ *      if ((MCUSR & (1<<WDRF)) && (Boot_Key == MAGIC_BOOT_KEY))\r
  *      {\r
  *          Boot_Key = 0;\r
  *          ((void (*)(void))BOOTLOADER_START_ADDRESS)(); \r