From d0005f2dd6646560ffb11ccbc2afa05f7b7fc118 Mon Sep 17 00:00:00 2001 From: andber1 <82754113+andber1@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:31:21 +0100 Subject: [PATCH] Fix update_old_frame for epd2in9_v2 --- src/epd2in9_v2/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/epd2in9_v2/mod.rs b/src/epd2in9_v2/mod.rs index 86997be9..df466cba 100644 --- a/src/epd2in9_v2/mod.rs +++ b/src/epd2in9_v2/mod.rs @@ -417,6 +417,8 @@ where delay: &mut DELAY, ) -> Result<(), SPI::Error> { self.wait_until_idle(spi, delay)?; + self.interface + .cmd_with_data(spi, Command::WriteRam, buffer)?; self.interface .cmd_with_data(spi, Command::WriteRam2, buffer) }