Remove incorrect watchdog reset

This commit is contained in:
GW_MC
2026-01-25 21:54:26 +08:00
parent f3dfc4f43f
commit abe840b65d

View File

@@ -502,7 +502,6 @@ void EInkDisplayHandler::_wait_for_busy() {
int timeout = 0; int timeout = 0;
while (gpio_get_level(PIN_BUSY) == BUSY_ACTIVE_LEVEL) { // 0=BUSY, 1=FREE while (gpio_get_level(PIN_BUSY) == BUSY_ACTIVE_LEVEL) { // 0=BUSY, 1=FREE
vTaskDelay(pdMS_TO_TICKS(100)); vTaskDelay(pdMS_TO_TICKS(100));
esp_task_wdt_reset(); // Feed the watchdog during long wait
timeout++; timeout++;
if (timeout > 100) { // 10 second timeout if (timeout > 100) { // 10 second timeout
ESP_LOGE(TAG, "Display BUSY timeout! Pin level: %d", gpio_get_level(PIN_BUSY)); ESP_LOGE(TAG, "Display BUSY timeout! Pin level: %d", gpio_get_level(PIN_BUSY));