Skip to content

Commit 18e5ab4

Browse files
author
Matteo Crippa
committed
minor change to wdt
1 parent d83a865 commit 18e5ab4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/current.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ void current_setJob(const Notification &notification)
8181
if (current_job_is_valid == 1)
8282
{
8383
current_job_next = new Job(notification, *current_subscribe, current_difficulty);
84+
#if defined(ESP8266)
85+
ESP.wdtFeed();
86+
#endif
8487
l_info(TAG_CURRENT, "Job: %s queued", current_job_next->job_id.c_str());
8588
return;
8689
}

0 commit comments

Comments
 (0)