Remove incorrect watchdog reset
This commit is contained in:
@@ -502,7 +502,6 @@ void EInkDisplayHandler::_wait_for_busy() {
|
||||
int timeout = 0;
|
||||
while (gpio_get_level(PIN_BUSY) == BUSY_ACTIVE_LEVEL) { // 0=BUSY, 1=FREE
|
||||
vTaskDelay(pdMS_TO_TICKS(100));
|
||||
esp_task_wdt_reset(); // Feed the watchdog during long wait
|
||||
timeout++;
|
||||
if (timeout > 100) { // 10 second timeout
|
||||
ESP_LOGE(TAG, "Display BUSY timeout! Pin level: %d", gpio_get_level(PIN_BUSY));
|
||||
|
||||
Reference in New Issue
Block a user