Skip to content

Commit af04822

Browse files
committed
Remove 1 second sleep on communication error
Afaik not needed any more. Only inflates the frame errors (by 20)
1 parent f1abc84 commit af04822

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

esphome/components/MhiAcCtrl/MHI-AC-Ctrl-core.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,6 @@ static void mhi_poll_task(void *arg)
409409
if (err) {
410410
ESP_LOGW(TAG, "error %i . trans len: %i", err, spi_slave_trans.trans_len);
411411
frame_errors++;
412-
413-
// wait a second before retrying communication
414-
vTaskDelayMs(1000);
415412
}
416413
err = 0;
417414

0 commit comments

Comments
 (0)