add scan menu

This commit is contained in:
2026-08-14 23:06:49 +02:00
parent 77b73902b8
commit d3ac95a9bd
4 changed files with 81 additions and 2 deletions
+4
View File
@@ -7,6 +7,10 @@ use embassy_time::{Duration, Timer};
const DEBOUNCE_DURATION_MILLIS: u64 = 100;
pub trait Displayable {
fn display(&self, display: &mut PrimaryLcdDisplay<'static>) -> impl core::future::Future<Output = ()> + Send;
}
#[embassy_executor::task]
pub async fn run(mut inputs: Inputs, display: &'static mut PrimaryLcdDisplay<'static>) {
let mut state = MainMenu { selected: 0 };