aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU/BootloaderAPI.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-11-23 14:09:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-11-23 14:09:01 +0000
commit075538abb9af8a31fa8239ecfda592b968cd53d8 (patch)
tree08086c52834794e8db1a40d07679443a4b4828aa /Bootloaders/DFU/BootloaderAPI.h
parentd6192148542bebdfbd7a33b336492e93dbf90406 (diff)
downloadlufa-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/DFU/BootloaderAPI.h')
-rw-r--r--Bootloaders/DFU/BootloaderAPI.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Bootloaders/DFU/BootloaderAPI.h b/Bootloaders/DFU/BootloaderAPI.h
index 9c9d5a4ce..e9709125d 100644
--- a/Bootloaders/DFU/BootloaderAPI.h
+++ b/Bootloaders/DFU/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);