From: Nathael Pajani Date: Mon, 23 Nov 2015 12:05:51 +0000 (+0100) Subject: use startup_watchdog_disable() instead of stop_watchdog() upon startup. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=fafb2f3ed8ac6dcabce33cef7263bb6be59c68c4;p=soft%2Flpc122x%2Frs485 use startup_watchdog_disable() instead of stop_watchdog() upon startup. --- diff --git a/dmx_up2rf/main.c b/dmx_up2rf/main.c index 7bd87af..a7868eb 100644 --- a/dmx_up2rf/main.c +++ b/dmx_up2rf/main.c @@ -87,7 +87,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() */