Skip to content

Commit 242aa94

Browse files
committed
Update esp3dlib.cpp
1 parent bdba40f commit 242aa94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/esp3dlib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void Esp3DLib::idletask() {
106106
ESP3DLIB_RUNNING_CORE /* Core to run the task */
107107
);
108108
#ifdef DISABLE_WDT_ESP3DLIB_TASK
109-
if (esp_task_wdt_status(NULL) == ESP_OK) {
109+
if (esp_task_wdt_status(ESP3DHal::xHandle) == ESP_OK) {
110110
esp_task_wdt_delete(ESP3DHal::xHandle);
111111
}
112112
#endif // DISABLE_WDT_ESP3DLIB_TASK

0 commit comments

Comments
 (0)