From 391f68f51c3cf2ef3d90b292185f32478355fa2e Mon Sep 17 00:00:00 2001 From: Nisarg Jhaveri Date: Thu, 20 Jun 2024 01:29:49 +0530 Subject: [PATCH] Avoid call to delay on deep_sleep --- esphome/components/waveshare_epaper/waveshare_4_24in.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/waveshare_epaper/waveshare_4_24in.cpp b/esphome/components/waveshare_epaper/waveshare_4_24in.cpp index 12908496ce..4e2110d3ce 100644 --- a/esphome/components/waveshare_epaper/waveshare_4_24in.cpp +++ b/esphome/components/waveshare_epaper/waveshare_4_24in.cpp @@ -152,8 +152,6 @@ void WaveshareEPaper4P26In::deep_sleep() { // Set deep sleep mode this->command(0x10); this->data(0x01); - - delay(50); } int WaveshareEPaper4P26In::get_width_internal() { return 800; }