- * // 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