From 5371a5b0eb0621a7bdf02e652891231b11cbddc1 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 23 Nov 2015 13:05:51 +0100 Subject: [PATCH] use startup_watchdog_disable() instead of stop_watchdog() upon startup. --- cc1101/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc1101/main.c b/cc1101/main.c index 486b242..d27b6b6 100644 --- a/cc1101/main.c +++ b/cc1101/main.c @@ -72,7 +72,7 @@ const struct pio status_led_red = LPC_GPIO_1_5; 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() */ -- 2.43.0