X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0407b92584ead02122f5273fde380dd8a272e83c..e9029d49d5455ec146d2e87436d43d747d6c657a:/Bootloaders/CDC/BootloaderCDC.c diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index 7695e33d8..f336a1368 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -63,6 +63,10 @@ static bool RunBootloader = true; */ int main(void) { + /* Force a reference to the API jump table to prevent the linker from discarding it */ + uint8_t* volatile Dummy = BootloaderAPI_JumpTable; + (void)Dummy; + /* Setup hardware required for the bootloader */ SetupHardware();