Skip to content

Commit

Permalink
[BT] Increase procBLEtask stack size to avoid reset when adapting the…
Browse files Browse the repository at this point in the history
… scan parameters

This fix the issue of the gateway resetting when the device detected require to adapt automatically the scan parameters
  • Loading branch information
1technophile committed Jan 10, 2025
1 parent 1f45a77 commit a852534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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,
14000,
# else
8500, /* Stack size in bytes */
9000, /* Stack size in bytes */
# endif
NULL, /* Task input parameter */
2, /* Priority of the task (set higher than core task) */
Expand Down

0 comments on commit a852534

Please sign in to comment.