Skip to content

Commit e5eb6be

Browse files
committed
WDT is not dependent on which core we are running on
[pull request 127](me-no-dev#127)
1 parent ffb4f59 commit e5eb6be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AsyncTCP.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ extern "C" {
3333
//If core is not defined, then we are running in Arduino or PIO
3434
#ifndef CONFIG_ASYNC_TCP_RUNNING_CORE
3535
#define CONFIG_ASYNC_TCP_RUNNING_CORE -1 //any available core
36+
#endif
37+
//Watchdog Timer is not dependent on the running core
38+
#ifndef CONFIG_ASYNC_TCP_USE_WDT
3639
#define CONFIG_ASYNC_TCP_USE_WDT 1 //if enabled, adds between 33us and 200us per event
3740
#endif
3841
#ifndef CONFIG_ASYNC_TCP_STACK

0 commit comments

Comments
 (0)