Fix wdt idle hook

This commit is contained in:
Jeroen Domburg 2016-11-14 10:20:49 +08:00
parent 57009aaa7f
commit 045a53a7e5

View file

@ -145,7 +145,7 @@ void esp_task_wdt_delete() {
#if CONFIG_TASK_WDT_CHECK_IDLE_TASK
static bool idle_hook(void) {
#if !CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1
if (xPortGetCoreID()!=0) return;
if (xPortGetCoreID()!=0) return true;
#endif
esp_task_wdt_feed();
return true;