mirror of
https://github.com/nacabaro/nacapet.git
synced 2026-06-05 14:02:53 +00:00
Update food select screen to use precompiler parameters
This commit is contained in:
parent
9c4520e4e0
commit
f15ea8190f
@ -20,19 +20,19 @@ void menu_foodScreen(TFT_eSprite &bg, TFT_eSprite &mainChara,
|
||||
|
||||
uint8_t pressedButtons = buttons_getPressedButtons();
|
||||
switch (pressedButtons) {
|
||||
case 8:
|
||||
arrowPosition = (arrowPosition + 1) % 2;
|
||||
break;
|
||||
case K1_PRESSED:
|
||||
arrowPosition = (arrowPosition + 1) % 2;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
screenKey = MENU_SCREEN;
|
||||
break;
|
||||
case K3_PRESSED:
|
||||
screenKey = MENU_SCREEN;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (pressedButtons == 4) {
|
||||
if (pressedButtons == K2_PRESSED) {
|
||||
lastUpdateTime = 0;
|
||||
switch (arrowPosition) {
|
||||
case 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user