From 260d838cb519fffd1cc73d321bcdd5b5fa19d828 Mon Sep 17 00:00:00 2001 From: daylily Date: Mon, 12 Jan 2026 15:09:34 -0600 Subject: [PATCH] Fix screen rotation in firmware --- firmware/src/app.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/firmware/src/app.rs b/firmware/src/app.rs index f569ce3..7e398ce 100644 --- a/firmware/src/app.rs +++ b/firmware/src/app.rs @@ -52,13 +52,9 @@ const MAGIC_NUMBER: [u8; MAGIC_NUMBER_LEN] = [0x7d]; // Generic educational/R&D #[task] pub async fn app_task(epd: Epd, midi: UsbMidi) { - App { - epd, - midi, - display: Display1in54::default(), - } - .run() - .await + let mut display = Display1in54::default(); + display.set_rotation(DisplayRotation::Rotate180); + App { epd, midi, display }.run().await } struct App {