mirror of
https://github.com/me-no-dev/AsyncTCP.git
synced 2025-08-11 00:24:29 +02:00
Enable WDT inside Arduino and PIO
This commit is contained in:
@@ -30,12 +30,10 @@ extern "C" {
|
||||
#include "lwip/pbuf.h"
|
||||
}
|
||||
|
||||
//If core is not defined, then we are running in Arduino or PIO
|
||||
#ifndef CONFIG_ASYNC_TCP_RUNNING_CORE
|
||||
#define CONFIG_ASYNC_TCP_RUNNING_CORE -1 //any available core
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ASYNC_TCP_USE_WDT
|
||||
#define CONFIG_ASYNC_TCP_USE_WDT 0 //if enabled, adds between 33us and 200us per event
|
||||
#define CONFIG_ASYNC_TCP_USE_WDT 1 //if enabled, adds between 33us and 200us per event
|
||||
#endif
|
||||
|
||||
class AsyncClient;
|
||||
|
Reference in New Issue
Block a user