Skip to content

Commit 0b3ca93

Browse files
author
Zhang Jun Hao
committed
fix(esp8266): fix wdt rst when pp soft wdt stop is called
1 parent 1f3a82e commit 0b3ca93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: components/esp8266/source/task_wdt.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ void IRAM_ATTR esp_task_wdt_reset(void)
8989
*/
9090
void pp_soft_wdt_stop(void)
9191
{
92-
92+
WDT_FEED();
9393
}
9494

9595
/**
9696
* @brief Just for pass compiling and mark wdt calling line
9797
*/
9898
void pp_soft_wdt_restart(void)
9999
{
100-
100+
WDT_FEED();
101101
}

0 commit comments

Comments
 (0)