mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 11:14:28 +05:00
fixed heap size
fixed core numbers for esp32 tasks compatible with lolin_c3_mini delete task main loop() for esp32
This commit is contained in:
@@ -27,11 +27,17 @@ public:
|
||||
WifiManagerTask(bool _enabled = false, unsigned long _interval = 0) : Task(_enabled, _interval) {}
|
||||
|
||||
protected:
|
||||
const char* taskName = "WifiManager";
|
||||
const int taskCore = 1;
|
||||
bool connected = false;
|
||||
unsigned long lastArpGratuitous = 0;
|
||||
|
||||
const char* getTaskName() {
|
||||
return "WifiManager";
|
||||
}
|
||||
|
||||
int getTaskCore() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void setup() {
|
||||
wm.setDebugOutput(settings.debug);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user