[SYS] Detect IDF environnement with USE_ESP_IDF (#2074)

Rather than USE_BLUFI only, as IDF can be used without BLUFI

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
Florian
2024-10-01 11:42:11 -05:00
committed by GitHub
parent 88e09092d6
commit 9e5f56580d

View File

@@ -851,7 +851,7 @@ void setupBTTasksAndBLE() {
xTaskCreatePinnedToCore(
procBLETask, /* Function to implement the task */
"procBLETask", /* Name of the task */
# ifdef USE_BLUFI
# if defined(USE_ESP_IDF) || defined(USE_BLUFI)
12500,
# else
8500, /* Stack size in bytes */