mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/periph_wdt: fix inline callback example
Function was renamed to wdt_setup_reboot_with_callback
This commit is contained in:
parent
86870c7ede
commit
bd1eb6e285
@ -135,7 +135,7 @@
|
||||
*
|
||||
* int main(void)
|
||||
* {
|
||||
* wdt_setup_callback(0, MAX_TIME, wdt_cb, arg);
|
||||
* wdt_setup_reboot_with_callback(0, MAX_TIME, wdt_cb, arg);
|
||||
* wdt_start();
|
||||
* while (1) {
|
||||
* xtimer_usleep(time);
|
||||
|
Loading…
Reference in New Issue
Block a user