[riot-notifications] [RIOT-OS/RIOT] drivers/include: add header definition for wdt (#11527)

benpicco notifications at github.com
Thu Jun 13 11:31:49 CEST 2019


benpicco commented on this pull request.



> + *
+ * |---------VALID_TIME-------|
+ *
+ *                            ^
+ *                            |
+ *                       wdt_kick()
+ * 
+ * WINDOWED operation
+ * ==================
+ *
+ *    wdt_setup_reboot(MIN_TIME, MAX_TIME);
+ *    wdt_start();
+ *
+ *    // MIN_TIME < VALID_TIME < MAX_TIME
+ *    while (1) {
+ *        xtimer_usleep(VALID_TIME);

Just add another line of comment so we have `x` 'defined' in both cases and we're good. :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11527#discussion_r293287769
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190613/75f3b37c/attachment-0001.html>


More information about the notifications mailing list