diff --git a/examples/RemoteUDP/Sender/Sender.ino b/examples/RemoteUDP/Sender/Sender.ino index 58bad1d..fd24548 100644 --- a/examples/RemoteUDP/Sender/Sender.ino +++ b/examples/RemoteUDP/Sender/Sender.ino @@ -745,11 +745,15 @@ void setup() { espConnect.begin(hostname.c_str(), ssid.c_str(), MYCILA_ADMIN_PASSWORD); // start tasks - assert(coreTaskManager.asyncStart(1024 * 4, 1, 1, 100, true)); // NOLINT - assert(jsyTaskManager.asyncStart(1024 * 3, 1, 1, 100, true)); // NOLINT + // assert(coreTaskManager.asyncStart(1024 * 4, 1, 1, 100, true)); // NOLINT + // assert(jsyTaskManager.asyncStart(1024 * 3, 1, 1, 100, true)); // NOLINT logger.info(TAG, "Started " MYCILA_APP_NAME "!"); } // Destroy default Arduino async task -void loop() { vTaskDelete(NULL); } +void loop() { + // vTaskDelete(NULL); + coreTaskManager.loop(); + jsyTaskManager.loop(); +} diff --git a/examples/RemoteUDP/Sender/platformio.ini b/examples/RemoteUDP/Sender/platformio.ini index df73e7c..cd60490 100644 --- a/examples/RemoteUDP/Sender/platformio.ini +++ b/examples/RemoteUDP/Sender/platformio.ini @@ -47,7 +47,6 @@ lib_ignore = mathieucarbou/AsyncTCP build_flags = - -D ARDUINO_LOOP_STACK_SIZE=4096 -D CONFIG_ASYNC_TCP_MAX_ACK_TIME=3000 -D CONFIG_ASYNC_TCP_PRIORITY=10 -D CONFIG_ASYNC_TCP_QUEUE_SIZE=128