From cfd1428c4ca645909317bb127cc93ca34eb323cf Mon Sep 17 00:00:00 2001 From: saji Date: Fri, 16 Aug 2024 15:15:42 -0500 Subject: [PATCH] fixed eink wakeup bug --- src/display.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/display.rs b/src/display.rs index d82f85b..805f054 100644 --- a/src/display.rs +++ b/src/display.rs @@ -64,6 +64,7 @@ impl EInkPanel for Wrapper { #[instrument(skip_all)] fn display(&mut self, img: &DitheredImage) -> Result<()> { let buf = img.into_display_buffer(); + self.panel.wake_up(&mut self.spi, &mut self.delay)?; self.panel .update_and_display_frame(&mut self.spi, &buf, &mut self.delay)?; debug!("Finished updating frame");