Force redraw after setupTouch is called so that menu is on screen
This commit is contained in:
parent
f76b50fcc3
commit
d282062eef
11
setup.cpp
11
setup.cpp
|
@ -539,16 +539,23 @@ MenuReturn_e runSetupMenu(const MenuItem_t* const menu_items,
|
|||
enterSubmenu(&setupMenu##menu_name);\
|
||||
}\
|
||||
|
||||
const char MT_CAL [] PROGMEM = "Calibrations";
|
||||
const char MI_TOUCH [] PROGMEM = "Touch Screen";
|
||||
void setupTouchSetting();
|
||||
|
||||
const char MT_CAL [] PROGMEM = "Calibrations";
|
||||
const MenuItem_t menuItemsCalibration [] PROGMEM {
|
||||
{MT_CAL,nullptr},//Title
|
||||
{SS_LOCAL_OSC_T,runLocalOscSetting},
|
||||
{SS_BFO_T,runBfoSetting},
|
||||
{MI_TOUCH,setupTouch},
|
||||
{MI_TOUCH,setupTouchSetting},
|
||||
};
|
||||
GENERATE_MENU_T(Calibration);
|
||||
|
||||
void setupTouchSetting(){
|
||||
setupTouch();
|
||||
initSetupMenuCalibration();
|
||||
}
|
||||
|
||||
const char MT_CW [] PROGMEM = "CW Setup";
|
||||
const MenuItem_t menuItemsCw [] PROGMEM {
|
||||
{MT_CW,nullptr},//Title
|
||||
|
|
Loading…
Reference in New Issue