fixes for partly off-screen bitmap, remove temporary debug changes
This commit is contained in:
+1
-4
@@ -228,8 +228,6 @@ static void input_sound_effect()
|
||||
static const char* main_menu_opts[] = {
|
||||
"Manual mode",
|
||||
"Calibration",
|
||||
"Moderately long text",
|
||||
"Very very long text that slides",
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -337,7 +335,7 @@ static void screen_manual_menu(GuiEvent event)
|
||||
|
||||
static void screen_menu(GuiEvent event, const char **options, menu_callback_t cb) {
|
||||
bool menu_changed = false;
|
||||
uint32_t tickNow = xTaskGetTickCount();
|
||||
const uint32_t tickNow = xTaskGetTickCount();
|
||||
|
||||
struct menu_state *menu = &s_app.page.menu;
|
||||
|
||||
@@ -352,7 +350,6 @@ static void screen_menu(GuiEvent event, const char **options, menu_callback_t cb
|
||||
menu->len++;
|
||||
opt++;
|
||||
}
|
||||
menu->pos = menu->len - 1; // FIXME temporary, for debug
|
||||
break;
|
||||
|
||||
case GUI_EVENT_SCREEN_TICK:
|
||||
|
||||
Reference in New Issue
Block a user