Fix documentation: jump address for bootloader should be words, not bytes.

pull/1469/head
Dean Camera 11 years ago
parent 0d84b65f0b
commit c5282637ed

@ -32,7 +32,7 @@
* uint32_t Boot_Key ATTR_NO_INIT; * uint32_t Boot_Key ATTR_NO_INIT;
* *
* #define MAGIC_BOOT_KEY 0xDC42ACCA * #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) >> 1)
* *
* void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3); * void Bootloader_Jump_Check(void) ATTR_INIT_SECTION(3);
* void Bootloader_Jump_Check(void) * void Bootloader_Jump_Check(void)

Loading…
Cancel
Save