Made the sensor adjust menu driven by data
* Moved menu titles and option names into data structures. * Unified select menu option code * Also unified handling of menu selection, although main and rotator menus are still handled the old way. * Moved struct definitions to numenu.h * Grouped functions and variables together based on usage.
This commit is contained in:
parent
9a0bb369ac
commit
0d0ea5051d
6 changed files with 663 additions and 1033 deletions
19
NuEVI/menu.h
19
NuEVI/menu.h
|
@ -11,28 +11,13 @@
|
|||
#define DISPLAYOFF_IDL 0
|
||||
#define MAIN_MENU 1
|
||||
#define PATCH_VIEW 2
|
||||
#define BREATH_ADJ_IDL 10
|
||||
#define BREATH_ADJ_THR 11
|
||||
#define BREATH_ADJ_MAX 12
|
||||
#define PORTAM_ADJ_IDL 20
|
||||
#define PORTAM_ADJ_THR 21
|
||||
#define PORTAM_ADJ_MAX 22
|
||||
#define PITCHB_ADJ_IDL 30
|
||||
#define PITCHB_ADJ_THR 31
|
||||
#define PITCHB_ADJ_MAX 32
|
||||
#define EXTRAC_ADJ_IDL 40
|
||||
#define EXTRAC_ADJ_THR 41
|
||||
#define EXTRAC_ADJ_MAX 42
|
||||
#define VIBRAT_ADJ_IDL 50
|
||||
#define VIBRAT_ADJ_THR 51
|
||||
#define VIBRAT_ADJ_DPT 52
|
||||
#define CTOUCH_ADJ_IDL 60
|
||||
#define CTOUCH_ADJ_THR 61
|
||||
#define ADJUST_MENU 70
|
||||
#define SETUP_BR_MENU 80
|
||||
#define SETUP_CT_MENU 90
|
||||
#define ROTATOR_MENU 100
|
||||
#define VIBRATO_MENU 110
|
||||
|
||||
|
||||
extern byte subVibSquelch;
|
||||
|
||||
void initDisplay();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue