tasks: oled: cleanup
This commit is contained in:
@@ -94,7 +94,6 @@ impl<S: core::fmt::Debug + Surface<CoordinateSpace = Matrix2DSpace, Pixel = Bina
|
||||
|
||||
#[embassy_executor::task]
|
||||
pub async fn oled_ui(mut events: DynSubscriber<'static, Prediction>, mut ui: OledUI<OledSurface>) {
|
||||
|
||||
ui.screen_transition(Screen::Bootsplash).await;
|
||||
Timer::after_secs(3).await;
|
||||
ui.screen_transition(Screen::Home).await;
|
||||
@@ -102,5 +101,4 @@ pub async fn oled_ui(mut events: DynSubscriber<'static, Prediction>, mut ui: Ole
|
||||
loop {
|
||||
ui.on_event(events.next_message_pure().await).await;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user