This commit is contained in:
2019-12-01 17:01:33 +01:00
parent 76b4a0e756
commit b738f89cb8
3 changed files with 198 additions and 13 deletions

16
code/inc/menu.h Normal file
View File

@@ -0,0 +1,16 @@
#include <stdint.h>
extern int8_t menu_val_timezone;
extern uint8_t menu_val_format;
typedef enum {
OFF,
TIMEZONE,
FORMAT,
EXIT
} menu_state_t;
void enter_menu(void);
const char* get_menu_text(void);
uint8_t get_menu_active(void);
void menu_up_down(uint8_t up_down);