Further improvements for connection recovery

This commit is contained in:
Djuri 2024-04-16 15:17:34 +02:00
parent 2ef56c1938
commit ad0800c233
11 changed files with 51 additions and 7561 deletions

View file

@ -50,7 +50,7 @@ void IRAM_ATTR handleButtonInterrupt() {
}
void setupButtonTask() {
xTaskCreate(buttonTask, "ButtonTask", 4096, NULL, tskIDLE_PRIORITY,
xTaskCreate(buttonTask, "ButtonTask", 3072, NULL, tskIDLE_PRIORITY,
&buttonTaskHandle); // Create the FreeRTOS task
// Use interrupt instead of task
attachInterrupt(MCP_INT_PIN, handleButtonInterrupt, CHANGE);