Support draw_pixel for both partial window strategies

This commit is contained in:
Zac Wilson 2025-12-18 11:48:58 +00:00
parent 42e71fe3bd
commit 32edbb8ce4

View file

@ -171,10 +171,6 @@ impl DoubleFrame<NoPartialWindow> {
partial_window: NoPartialWindow,
}
}
pub fn draw_pixel(&mut self, x: usize, y: usize, colour: PixelColour) {
todo!()
}
}
impl DoubleFrame<AutomaticPartialWindow> {
@ -192,6 +188,12 @@ impl DoubleFrame<AutomaticPartialWindow> {
}
}
impl<PartialWindow: ApplyPartialWindow> DoubleFrame<PartialWindow> {
pub fn draw_pixel(&mut self, x: u16, y: u16, colour: PixelColour) {
todo!()
}
}
impl<BusyPin: InputPin, ResetPin: OutputPin, DcPin: OutputPin, Spi: SpiDevice, Delay: DelayNs>
EPaperDisplay<BusyPin, ResetPin, DcPin, Spi, Delay>
{