From c65612271cb1b554682dc468bc110ef4f2fd7939 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 6 Jan 2024 14:44:17 +0000 Subject: [PATCH] Increase stack size for task --- sensor/src/sensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensor/src/sensor.cpp b/sensor/src/sensor.cpp index 86e7ff3..3c88b6e 100644 --- a/sensor/src/sensor.cpp +++ b/sensor/src/sensor.cpp @@ -550,7 +550,7 @@ void setup() { #endif if(ARDUINO_RUNNING_CORE == 1) { - xTaskCreatePinnedToCore(backgroundTask, "backgroundTask", 2048, NULL, 1, NULL, ARDUINO_RUNNING_CORE); + xTaskCreatePinnedToCore(backgroundTask, "backgroundTask", 4048, NULL, 1, NULL, ARDUINO_RUNNING_CORE); } #ifdef ESP32