Skip to content

Commit

Permalink
minor change to wdt
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Crippa committed Mar 16, 2024
1 parent d83a865 commit 18e5ab4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/current.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ void current_setJob(const Notification &notification)
if (current_job_is_valid == 1)
{
current_job_next = new Job(notification, *current_subscribe, current_difficulty);
#if defined(ESP8266)
ESP.wdtFeed();
#endif
l_info(TAG_CURRENT, "Job: %s queued", current_job_next->job_id.c_str());
return;
}
Expand Down

0 comments on commit 18e5ab4

Please sign in to comment.