aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hid-mouse/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hid-mouse/firmware/main.c')
-rw-r--r--examples/hid-mouse/firmware/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/hid-mouse/firmware/main.c b/examples/hid-mouse/firmware/main.c
index f13361e..e986731 100644
--- a/examples/hid-mouse/firmware/main.c
+++ b/examples/hid-mouse/firmware/main.c
@@ -128,8 +128,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!
*/
/* RESET status: all port bits are inputs without pull-up.
* That's the way we need D+ and D-. Therefore we don't need any