Implemented tertiary LCD display
This commit is contained in:
@@ -62,15 +62,15 @@ pub async fn run(mut inputs: Inputs, display: &'static mut PrimaryLcdDisplay<'st
|
||||
Either::First(selection_buttons) => match selection_buttons {
|
||||
Either6::First(_) => Action::Up,
|
||||
Either6::Second(_) => Action::Down,
|
||||
Either6::Third(_) => Action::Back,
|
||||
Either6::Fourth(_) => Action::Ok,
|
||||
Either6::Third(_) => Action::Left,
|
||||
Either6::Fourth(_) => Action::Right,
|
||||
Either6::Fifth(_) => Action::Ok,
|
||||
Either6::Sixth(_) => Action::Back,
|
||||
},
|
||||
Either::Second(_) => Action::Timer,
|
||||
};
|
||||
|
||||
log::info!("Action: {:?}", action);
|
||||
log::info!("Action: {:?}", action);
|
||||
|
||||
let new_state = if action == Action::Back {
|
||||
if state.screens.len() > 1 {
|
||||
|
||||
Reference in New Issue
Block a user