From 42e71fe3bd030cd9a51a53b0e11059ba992e2a50 Mon Sep 17 00:00:00 2001 From: Zac Wilson Date: Thu, 18 Dec 2025 11:48:06 +0000 Subject: [PATCH] Fix typo --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1682658..eb43d53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,7 +69,7 @@ pub enum PixelColour { White = 1, } -pub trait ApplyParitalWindow: private::Sealed { +pub trait ApplyPartialWindow: private::Sealed { fn apply< BusyPin: InputPin, ResetPin: OutputPin, @@ -96,7 +96,7 @@ mod private { pub struct NoPartialWindow; -impl ApplyParitalWindow for NoPartialWindow { +impl ApplyPartialWindow for NoPartialWindow { fn apply< BusyPin: InputPin, ResetPin: OutputPin, @@ -121,7 +121,7 @@ pub struct AutomaticPartialWindow { max_y: u16, } -impl ApplyParitalWindow for AutomaticPartialWindow { +impl ApplyPartialWindow for AutomaticPartialWindow { fn apply< BusyPin: InputPin, ResetPin: OutputPin, @@ -272,7 +272,7 @@ impl(&mut self, double_frame: &mut DoubleFrame) { + pub fn draw_full_frame(&mut self, double_frame: &mut DoubleFrame) { double_frame.partial_window.apply(self); self.write_command(0x10); for byte in double_frame.old.0 {