triple oled initialization

This commit is contained in:
2026-08-23 16:07:45 +02:00
parent 357701a685
commit b2a8fdea5e
6 changed files with 135 additions and 107 deletions
+1 -4
View File
@@ -47,10 +47,7 @@ where
let width = u32::try_from(end_x - start_x).unwrap();
let height = u32::try_from(end_y - start_y).unwrap();
let area = Rectangle::new(
Point::new(start_x.try_into().unwrap(), start_y.try_into().unwrap()),
Size::new(width, height),
);
let area = Rectangle::new(Point::new(start_x, start_y), Size::new(width, height));
let _ = ili9341.fill_solid(&area, color);
}