Merge pull request #3388 from thinkyhead/rc_fix_move_menu_bug

Fix: menu edit items saving position twice
This commit is contained in:
Scott Lahteine 2016-04-04 17:05:15 -07:00
commit 4b8a71055e

View file

@ -1778,8 +1778,6 @@ static void lcd_control_volumetric_menu() {
void menu_edit_ ## _name () { _menu_edit_ ## _name(); } \
void menu_edit_callback_ ## _name () { if (_menu_edit_ ## _name ()) (*callbackFunc)(); } \
static void _menu_action_setting_edit_ ## _name (const char* pstr, _type* ptr, _type minValue, _type maxValue) { \
lcd_save_previous_menu(); \
\
lcdDrawUpdate = LCD_DRAW_UPDATE_CLEAR_CALL_REDRAW; \
currentMenu = menu_edit_ ## _name; \
\