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=4d9734a9b9bc74e48d85fa2833e01b119de57e05;p=soft%2Flpc122x%2Fswd use startup_watchdog_disable() instead of stop_watchdog() upon startup. --- diff --git a/remote_bitbang/main.c b/remote_bitbang/main.c index 2bf364b..4133615 100644 --- a/remote_bitbang/main.c +++ b/remote_bitbang/main.c @@ -72,7 +72,7 @@ const struct pio swd_clk = LPC_GPIO_0_24; 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() */