mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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.).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user