diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-05 13:33:14 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-05 13:33:14 -0400 |
commit | 2615223eeedfefc605839bea350911574368e668 (patch) | |
tree | 7a33841aa59c4cc2e0922ef62d57e41311c3904f | |
parent | 6d023eaf845b9d8dc6d7fe4a96e024b742ba27d4 (diff) |
clear submenu screen under more conditions
-rw-r--r-- | menus.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1246,14 +1246,17 @@ static void Submenu_Display(int redraw) current_operating_mode=0; + if ( (globals.MenuStatus.Type_Of_Menu != Submenu_On) || + (globals.MenuStatus.Error_Screen == YES) || + (globals.MenuStatus.Nonstd_Display == YES) || + (!redraw)) { + LCD_clear(); + } + globals.MenuStatus.Type_Of_Menu=Submenu_On; globals.MenuStatus.Error_Screen=NO; globals.MenuStatus.Nonstd_Display=NO; - if (!redraw) { - LCD_clear(); - } - Submenu_Numeric_Parameter=Show_No_Number; Submenu_max_entry=0; |