Add a typedef for MENU_ITEM(function,…) functions

This commit is contained in:
Scott Lahteine
2017-10-02 23:33:57 -05:00
parent 6ea2cc0293
commit a8b8d4e85e
2 changed files with 2 additions and 1 deletions

View File

@ -84,6 +84,7 @@
// Function pointer to menu functions.
typedef void (*screenFunc_t)();
typedef void (*menuAction_t)();
void lcd_goto_screen(screenFunc_t screen, const uint32_t encoder=0);