Add API to feed the loop WDT (call from loop only)

This commit is contained in:
me-no-dev
2019-01-12 13:02:38 +01:00
parent f7cf583b87
commit 81844f5360
3 changed files with 9 additions and 2 deletions

View File

@ -77,6 +77,8 @@ float temperatureRead();
//enable/disable WDT for Arduino's setup and loop functions
void enableLoopWDT();
void disableLoopWDT();
//feed WDT for the loop task
void feedLoopWDT();
#endif
//enable/disable WDT for the IDLE task on Core 0 (SYSTEM)