mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
use PrimitiveStyle::with_stroke, not PrimitiveStyleBuilder
This commit is contained in:
@@ -30,10 +30,6 @@ impl DrawTarget for Display7in5 {
|
||||
fn draw_pixel(&mut self, pixel: Pixel<BinaryColor>) -> Result<(), Self::Error> {
|
||||
self.draw_helper(WIDTH, HEIGHT, pixel)
|
||||
}
|
||||
|
||||
// fn size(&self) -> Size {
|
||||
// Size::new(WIDTH, HEIGHT)
|
||||
// }
|
||||
}
|
||||
|
||||
impl Display for Display7in5 {
|
||||
|
||||
Reference in New Issue
Block a user