match menu_goto's encoder type to lcd_encoder type
Change in memory: Flash: -20 bytes SRAM: 0 bytes
This commit is contained in:
parent
4ca7f8ce2d
commit
6d2a66c1e8
|
|
@ -45,7 +45,7 @@ void menu_data_reset(void)
|
|||
memset(&menu_data, 0, sizeof(menu_data));
|
||||
}
|
||||
|
||||
void menu_goto(menu_func_t menu, const uint32_t encoder, bool reset_menu_state, const bool feedback)
|
||||
void menu_goto(menu_func_t menu, const int16_t encoder, const bool feedback, bool reset_menu_state)
|
||||
{
|
||||
CRITICAL_SECTION_START;
|
||||
if (menu_menu != menu)
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ extern menu_func_t menu_menu;
|
|||
|
||||
extern void menu_data_reset(void);
|
||||
|
||||
extern void menu_goto(menu_func_t menu, const uint32_t encoder, bool reset_menu_state, const bool feedback=false);
|
||||
extern void menu_goto(menu_func_t menu, const int16_t encoder, const bool feedback, bool reset_menu_state);
|
||||
|
||||
#define MENU_BEGIN() menu_start(); for(menu_row = 0; menu_row < LCD_HEIGHT; menu_row++, menu_line++) { menu_item = 0;
|
||||
void menu_start(void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue