use startup_watchdog_disable() instead of stop_watchdog() upon startup.

This commit is contained in:
Nathael Pajani 2015-11-23 13:05:51 +01:00
parent b682b3e37a
commit 8529125246
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ const struct pio status_led_red = LPC_GPIO_0_29;
void system_init()
{
/* Stop the watchdog */
stop_watchdog(); /* Do it right now, before it gets a chance to break in */
startup_watchdog_disable(); /* Do it right now, before it gets a chance to break in */
/* Note: Brown-Out detection must be powered to operate the ADC. adc_on() will power
* it back on if called after system_init() */