X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a8871c7fba73307226bd13e2cad4c840c850e6f1..5a4def747897c1c6ffbe465506d846c7c686d3e9:/LUFA/ManPages/SoftwareBootloaderJump.txt diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt index 574398c8f..2591a8645 100644 --- a/LUFA/ManPages/SoftwareBootloaderJump.txt +++ b/LUFA/ManPages/SoftwareBootloaderJump.txt @@ -30,7 +30,7 @@ * * #define MAGIC_BOOT_KEY 0xDC42ACCA * #define BOOTLOADER_START_ADDRESS (FLASH_SIZE_BYTES - BOOTLOADER_SEC_SIZE_BYTES) - * + * * void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3); * void Bootloader_Jump_Check(void) * { @@ -38,7 +38,7 @@ * if ((MCUSR & (1 << WDRF)) && (Boot_Key == MAGIC_BOOT_KEY)) * { * Boot_Key = 0; - * ((void (*)(void))BOOTLOADER_START_ADDRESS)(); + * ((void (*)(void))BOOTLOADER_START_ADDRESS)(); * } * } * @@ -57,12 +57,13 @@ * // Set the bootloader key to the magic value and force a reset * Boot_Key = MAGIC_BOOT_KEY; * wdt_enable(WDTO_250MS); - * for (;;); + * for (;;); * } * \endcode * * Note that the bootloader magic key can be any arbitrary value. The FLASH_SIZE_BYTES and * BOOTLOADER_SEC_SIZE_BYTES tokens should be replaced with the total flash size of the AVR * in bytes, and the allocated size of the bootloader section for the target AVR. - * + * */ +