From 430973263bcf11e56c3362d2c714cc8f8c95c354 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 5 May 2012 21:27:07 +0000 Subject: Fix bootloaders to make the StaticAnalysis build test happy. --- Bootloaders/CDC/BootloaderCDC.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bootloaders/CDC/BootloaderCDC.c') diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index d057349c7..211b054e3 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -70,10 +70,11 @@ uint32_t MagicBootKey ATTR_NO_INIT; */ void Application_Jump_Check(void) { - // If the reset source was the bootloader and the key is correct, clear it and jump to the application + /* If the reset source was the bootloader and the key is correct, clear it and jump to the application */ if ((MCUSR & (1 << WDRF)) && (MagicBootKey == MAGIC_BOOT_KEY)) { MagicBootKey = 0; + // cppcheck-suppress constStatement ((void (*)(void))0x0000)(); } } -- cgit v1.2.3