X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/58a0ee67a396622922d873d0625c993d2d5f9e57..d06febbb59f5da074e075cc2c92375d46a1b231a:/LUFA/ManPages/SoftwareBootloaderJump.txt?ds=sidebyside diff --git a/LUFA/ManPages/SoftwareBootloaderJump.txt b/LUFA/ManPages/SoftwareBootloaderJump.txt index ca8d8ee7c..6e7ea584e 100644 --- a/LUFA/ManPages/SoftwareBootloaderJump.txt +++ b/LUFA/ManPages/SoftwareBootloaderJump.txt @@ -29,7 +29,7 @@ * uint32_t Boot_Key ATTR_NO_INIT; * * #define MAGIC_BOOT_KEY 0xDC42ACCA - * #define BOOTLOADER_START_ADDRESS ({FLASH_SIZE_BYTES} - {BOOTLOADER_SEC_SIZE_BYTES}) + * #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) @@ -44,13 +44,13 @@ * * void Jump_To_Bootloader(void) * { - * // If USB is used, detatch from the bus + * // If USB is used, detach from the bus * USB_ShutDown(); * * // Disable all interrupts * cli(); * - * // Wait two seconds for the USB detatchment to register on the host + * // Wait two seconds for the USB detachment to register on the host * for (uint8_t i = 0; i < 128; i++) * _delay_ms(16); * @@ -61,8 +61,8 @@ * } * \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 + * 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. * - */ \ No newline at end of file + */