1
0
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:
Alexandre Abadie 2019-08-05 21:47:25 +02:00
parent 86870c7ede
commit bd1eb6e285
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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);