X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3eb81df998349e90c3d973e6301f19382c5b2e84..9a1560dc050f79fd189838a87ce623e79ff48677:/LUFA/ManPages/SoftwareBootloaderJump.txt diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt index afdc0b32a..3f6e30582 100644 --- a/LUFA/ManPages/SoftwareBootloaderJump.txt +++ b/LUFA/ManPages/SoftwareBootloaderJump.txt @@ -31,11 +31,11 @@ * #define MAGIC_BOOT_KEY 0xDC42ACCA * #define BOOTLOADER_START_ADDRESS ({FLASH_SIZE_BYTES} - {BOOTLOADER_SEC_SIZE_BYTES}) * - * int Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3); - * int Bootloader_Jump_Check(void) + * 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<