From 535f380370b7eb8fa897a399851153763651f182 Mon Sep 17 00:00:00 2001 From: Lukaswnd Date: Tue, 17 Dec 2024 13:01:47 +0100 Subject: [PATCH] fix stacksize in procBLETask add OVERRIDE_PROC_BLE_TASK_STACK_SIZE as value for custom stacksize in the procBLETask --- main/ZgatewayBT.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 6317482432..cef22b639c 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -852,7 +852,9 @@ void setupBTTasksAndBLE() { "procBLETask", /* Name of the task */ # if defined(USE_ESP_IDF) || defined(USE_BLUFI) 13500, -# else +# elif defined(OVERRIDE_PROC_BLE_TASK_STACK_SIZE) + OVERRIDE_PROC_BLE_TASK_STACK_SIZE, +# else 8500, /* Stack size in bytes */ # endif NULL, /* Task input parameter */