Force redraw after setupTouch is called so that menu is on screen

This commit is contained in:
Reed Nightingale 2020-05-05 20:35:17 -07:00
parent f76b50fcc3
commit d282062eef
1 changed files with 9 additions and 2 deletions

View File

@ -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