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

Kaspar Schleiser notifications at github.com
Tue May 21 10:09:09 CEST 2019

> For the WDT callback I think the clearer way is adding a paramter `cb_time` to `wdt_setup_reboot_with_callback()`. This will make the api clearer for all use cases.

Well, that time is fixed on a couple of architectures I looked at. Maybe rather go with a define here?

We should make sure that applications time the warning callback so that the warning is issued at the watchdog timeout, and the reboot is ```WDT_WARNING_PERIOD``` after. Or the other way around. Just consistent. :)

When a callback is set, what happens if a minimum is set and then the wdt is kicked too early?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190521/4a8006b9/attachment.html>

More information about the notifications mailing list