diff --git a/Core/Src/ui.c b/Core/Src/ui.c index 4195690..8ec1fe1 100644 --- a/Core/Src/ui.c +++ b/Core/Src/ui.c @@ -36,8 +36,11 @@ void ui_thread_entry(ULONG _) { button_states[i] = state; } } - if ((press_event == 1 || press_event == 2) && button_states[1] && - button_states[2]) { + // FIXME: The right button doesn't work :( + + // if ((press_event == 1 || press_event == 2) && button_states[1] && + // button_states[2]) { + if (press_event == 1 && button_states[1]) { tx_event_flags_set(&gui_update_events, GUI_UPDATE_NEXT_SCREEN, TX_OR); } vehicle_broadcast_buttons(button_states);