|
|
@ -43,6 +43,8 @@ void Screen::update(void) { |
|
|
|
blegamepad.show(&mainscreen_buffer); |
|
|
|
} else if(current_screen == SCREEN_MENU_STICK_CALIBRATION) { |
|
|
|
stickcalibration.mydebug(&mainscreen_buffer); |
|
|
|
} else if(current_screen == SCREEN_MENU_STICK_POSITIONS) { |
|
|
|
stickpositions.main(&mainscreen_buffer); |
|
|
|
} |
|
|
|
|
|
|
|
last_screen_update = millis(); |
|
|
@ -181,6 +183,8 @@ void Screen::menu(void) { |
|
|
|
} else if(current_menu == MENU_STICK_CALIBRATION) { |
|
|
|
current_screen = SCREEN_MENU_STICK_CALIBRATION; |
|
|
|
stickcalibration.updated = true; |
|
|
|
} else if(current_menu == MENU_STICK_POSITIONS) { |
|
|
|
current_screen = SCREEN_MENU_STICK_POSITIONS; |
|
|
|
} |
|
|
|
updated = true; |
|
|
|
} |
|
|
|