From be46bb29fab23ff88f1314a4f4aa07d5e5287ed5 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Tue, 12 Nov 2013 11:43:58 +0100 Subject: Improved comment about watchdog in example code. --- examples/drivertest/firmware/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/drivertest/firmware/main.c') diff --git a/examples/drivertest/firmware/main.c b/examples/drivertest/firmware/main.c index 53e322c..d24e50f 100644 --- a/examples/drivertest/firmware/main.c +++ b/examples/drivertest/firmware/main.c @@ -79,8 +79,9 @@ int __attribute__((noreturn)) main(void) uchar i; wdt_enable(WDTO_1S); - /* Even if you don't use the watchdog, turn it off here. On newer devices, - * the status of the watchdog (on/off, period) is PRESERVED OVER RESET! + /* If you don't use the watchdog, replace the call above with a wdt_disable(). + * On newer devices, the status of the watchdog (on/off, period) is PRESERVED + * OVER RESET! */ odDebugInit(); DBG1(0x00, 0, 0); /* debug output: main starts */ -- cgit v1.2.3