Skip to content

Commit

Permalink
Call wdt_reset() before bootloader timeout
Browse files Browse the repository at this point in the history
Bootloader timeout is 20 seconds. The watchdog timeout is 8 seconds.
This was causing the user application to never be reached after a reset
with no upload.
  • Loading branch information
per1234 committed May 29, 2016
1 parent 938b03a commit 006078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/ariadne/bootloaders/ariadne/main.c
Expand Up @@ -129,9 +129,9 @@ int main(void)
resetTick();
// Unset tftp flag
tftpFlashing = FALSE;
wdt_reset();
}
}
wdt_reset();
/* Blink the notification led */
updateLed();
}
Expand Down

0 comments on commit 006078d

Please sign in to comment.