Fix screen rotation in firmware
This commit is contained in:
+3
-7
@@ -52,13 +52,9 @@ const MAGIC_NUMBER: [u8; MAGIC_NUMBER_LEN] = [0x7d]; // Generic educational/R&D
|
|||||||
|
|
||||||
#[task]
|
#[task]
|
||||||
pub async fn app_task(epd: Epd, midi: UsbMidi) {
|
pub async fn app_task(epd: Epd, midi: UsbMidi) {
|
||||||
App {
|
let mut display = Display1in54::default();
|
||||||
epd,
|
display.set_rotation(DisplayRotation::Rotate180);
|
||||||
midi,
|
App { epd, midi, display }.run().await
|
||||||
display: Display1in54::default(),
|
|
||||||
}
|
|
||||||
.run()
|
|
||||||
.await
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct App {
|
struct App {
|
||||||
|
|||||||
Reference in New Issue
Block a user