Further improvements for connection recovery
This commit is contained in:
parent
2ef56c1938
commit
ad0800c233
11 changed files with 51 additions and 7561 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue