Page 1 of 1

如何喂狗

Posted: Thu Jun 03, 2021 2:21 pm
by kaisey
我想在一个任务中处理一些大数据,然后系统就提示
E (5433) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (5433) task_wdt: - IDLE (CPU 0)
E (5433) task_wdt: Tasks currently running:
E (5433) task_wdt: CPU 0: test_task
E (5433) task_wdt: Print CPU 0 (current core) backtrace

我要如何处理

Re: 如何喂狗

Posted: Fri Jun 04, 2021 7:19 am
by 某某ESP32友
while循环里加延时函数

Re: 如何喂狗

Posted: Thu Jun 17, 2021 7:02 am
by ESP_YJM
可以调用喂狗函数 esp_task_wdt_reset()