aboutsummaryrefslogtreecommitdiffstats
path: root/examples/drivertest/firmware/main.c
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2013-11-12 11:43:58 +0100
committerChristian Starkjohann <cs+github@obdev.at>2013-11-12 11:43:58 +0100
commitbe46bb29fab23ff88f1314a4f4aa07d5e5287ed5 (patch)
tree7c14f7c52ea71fe9bc645a31a84751e42109d7bd /examples/drivertest/firmware/main.c
parentf1311e1cd5a841906fb9f26a49e49d97efe21b51 (diff)
downloadv-usb-be46bb29fab23ff88f1314a4f4aa07d5e5287ed5.tar.gz
v-usb-be46bb29fab23ff88f1314a4f4aa07d5e5287ed5.tar.bz2
v-usb-be46bb29fab23ff88f1314a4f4aa07d5e5287ed5.zip
Improved comment about watchdog in example code.
Diffstat (limited to 'examples/drivertest/firmware/main.c')
-rw-r--r--examples/drivertest/firmware/main.c5
1 files changed, 3 insertions, 2 deletions
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 */