diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-11-23 14:09:01 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-11-23 14:09:01 +0000 |
commit | 075538abb9af8a31fa8239ecfda592b968cd53d8 (patch) | |
tree | 08086c52834794e8db1a40d07679443a4b4828aa /Bootloaders/CDC/BootloaderAPI.h | |
parent | d6192148542bebdfbd7a33b336492e93dbf90406 (diff) | |
download | lufa-075538abb9af8a31fa8239ecfda592b968cd53d8.tar.gz lufa-075538abb9af8a31fa8239ecfda592b968cd53d8.tar.bz2 lufa-075538abb9af8a31fa8239ecfda592b968cd53d8.zip |
Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line parameter in the bootloaders to ensure that the API jump tables are not discarded, rather than the previous C volatile pointer hack (thanks to Opendous Inc.).
Diffstat (limited to 'Bootloaders/CDC/BootloaderAPI.h')
-rw-r--r-- | Bootloaders/CDC/BootloaderAPI.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Bootloaders/CDC/BootloaderAPI.h b/Bootloaders/CDC/BootloaderAPI.h index 9c9d5a4ce..e9709125d 100644 --- a/Bootloaders/CDC/BootloaderAPI.h +++ b/Bootloaders/CDC/BootloaderAPI.h @@ -43,9 +43,6 @@ #include <LUFA/Common/Common.h> - /* External Variables: */ - extern uint8_t* BootloaderAPI_JumpTable; - /* Function Prototypes: */ void BootloaderAPI_ErasePage(uint32_t Address); void BootloaderAPI_WritePage(uint32_t Address); |