Add about command to menu and restructure code. Delete preliminary code from mainloop. Better code will follow
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __LCD_MENU_H__
|
||||
#define __LCD_MENU_H__
|
||||
#ifndef __REFLOW_MENU_H__
|
||||
#define __REFLOW_MENU_H__
|
||||
|
||||
/**
|
||||
* @brief Handle the reflow controller's LCD Menu
|
||||
@@ -29,4 +29,4 @@ int reflow_menu_handle(void);
|
||||
|
||||
void reflow_menu_init(void);
|
||||
|
||||
#endif /* __LCD_MENU_H__ */
|
||||
#endif /* __REFLOW_MENU_H__ */
|
@@ -49,6 +49,11 @@ extern volatile uint32_t wait_tick_ms;
|
||||
*/
|
||||
extern volatile uint64_t global_tick_ms;
|
||||
|
||||
/**
|
||||
* @brief Wait counter for the display. This must not be used anywhere else
|
||||
*/
|
||||
extern volatile uint32_t lcd_tick_ms;
|
||||
|
||||
/**
|
||||
* @brief Setup the Systick timer to generate a 1 ms tick
|
||||
*/
|
||||
|
@@ -76,4 +76,6 @@ void menu_list_scroll_down(struct menu_list *list);
|
||||
|
||||
void menu_list_scroll_up(struct menu_list *list);
|
||||
|
||||
void menu_list_enter_selected_entry(struct menu_list *list, struct lcd_menu *menu);
|
||||
|
||||
#endif /* __MENU_H__ */
|
||||
|
Reference in New Issue
Block a user