Fix bug in menu

This commit is contained in:
Mario Hüttel 2020-09-27 23:02:38 +02:00
parent ae91affc30
commit 034ecaa60f

View File

@ -86,7 +86,7 @@ void menu_entry_enter(struct lcd_menu *menu, menu_func_t entry, bool handle_imme
menu->active_entry = entry; menu->active_entry = entry;
if (handle_immediately) if (handle_immediately)
menu_handle(menu, menu->inputs.rotary_encoder_delta, menu->inputs.push_button); menu_handle(menu, 0, menu->inputs.push_button);
} }
void menu_lcd_output(struct lcd_menu *menu, uint8_t row_num, const char *text) void menu_lcd_output(struct lcd_menu *menu, uint8_t row_num, const char *text)