From 9bd9a642874760dbd757ab933ca78b53563d46f2 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:15:45 -0600 Subject: [PATCH] [BT] Increase procBLEtask stack size to avoid reset when adapting the scan parameters This fix the issue of the gateway resetting when the device detected require to adapt automatically the scan parameters --- main/ZgatewayBT.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 6317482432..4e2550437b 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -851,9 +851,9 @@ void setupBTTasksAndBLE() { procBLETask, /* Function to implement the task */ "procBLETask", /* Name of the task */ # if defined(USE_ESP_IDF) || defined(USE_BLUFI) - 13500, + 14500, # else - 8500, /* Stack size in bytes */ + 9500, /* Stack size in bytes */ # endif NULL, /* Task input parameter */ 2, /* Priority of the task (set higher than core task) */