fix(ota): bypass 64KB flash block erase, increase WDT timeouts, and place encoder table in DRAM
All checks were successful
ESP32 Build & Release / build (push) Successful in 1m11s

This commit is contained in:
2026-09-12 15:52:12 +02:00
parent c3bc42fe94
commit 6b8e8f3e8d
5 changed files with 40 additions and 2 deletions

View File

@@ -195,4 +195,18 @@ bool rfid_manager_has_pending_card(void)
void rfid_manager_consume_card(void)
{
s_pending_card = false;
}
void rfid_manager_pause(bool pause)
{
TaskHandle_t task = xTaskGetHandle(RC522_TASK_NAME);
if (task != NULL) {
if (pause) {
vTaskSuspend(task);
ESP_LOGI(TAG, "RFID polling suspended");
} else {
vTaskResume(task);
ESP_LOGI(TAG, "RFID polling resumed");
}
}
}