Buttons working

This commit is contained in:
Ben V. Brown
2022-04-18 19:46:47 +10:00
parent 24c424c9d8
commit 5edd735f72
4 changed files with 11 additions and 14 deletions

View File

@@ -896,6 +896,7 @@ void startGUITask(void const *argument) {
for (;;) {
ButtonState buttons = getButtonState();
MSG((char *)"Buttons %d\r\n", int(buttons));
if (buttons != BUTTON_NONE) {
OLED::setDisplayState(OLED::DisplayState::ON);
}