Issue #6: Improve LCD menu and implement function to see safety flags
This commit is contained in:
		@@ -35,6 +35,7 @@ typedef void (*menu_func_t)(struct lcd_menu *menu, enum menu_entry_func_entry en
 | 
			
		||||
struct menu_inputs {
 | 
			
		||||
	int16_t rotary_encoder_delta;
 | 
			
		||||
	enum button_state push_button;
 | 
			
		||||
	bool button_ready;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct lcd_menu {
 | 
			
		||||
@@ -76,6 +77,8 @@ int16_t menu_get_rotary_delta(const struct lcd_menu *menu);
 | 
			
		||||
 | 
			
		||||
enum button_state menu_get_button_state(const struct lcd_menu *menu);
 | 
			
		||||
 | 
			
		||||
bool menu_get_button_ready_state(const struct lcd_menu *menu);
 | 
			
		||||
 | 
			
		||||
void menu_list_compute_count(struct menu_list *list);
 | 
			
		||||
 | 
			
		||||
void menu_list_scroll_down(struct menu_list *list);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user