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 */