*/
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)();
}
}
*/
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)();
}
}