如何喂狗

kaisey
Posts: 81
Joined: Tue Mar 24, 2020 5:54 am

如何喂狗

Postby kaisey » Thu Jun 03, 2021 2:21 pm

我想在一个任务中处理一些大数据,然后系统就提示
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

我要如何处理

某某ESP32友
Posts: 25
Joined: Fri May 07, 2021 4:10 pm

Re: 如何喂狗

Postby 某某ESP32友 » Fri Jun 04, 2021 7:19 am

while循环里加延时函数

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: 如何喂狗

Postby ESP_YJM » Thu Jun 17, 2021 7:02 am

可以调用喂狗函数 esp_task_wdt_reset()

Who is online

Users browsing this forum: No registered users and 88 guests