summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 21:02:23 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 21:02:23 -0500
commit8e4c0d86c8df94d629413cd7863dc3a83cc21959 (patch)
treeae335170d0b56d1d444efa3efc37f99364d6e967
parentf29d7c0652072b482679c2503be6f2524f45fe35 (diff)
do not overwrite error screens from periodic loop
-rw-r--r--menus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menus.c b/menus.c
index 229020d..6f98ba7 100644
--- a/menus.c
+++ b/menus.c
@@ -249,7 +249,9 @@ static int Menu_Is_Item_Visible(int LCD_entry)
void Update_Main_Menu_If_Visible(void)
{
- if (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) {
+ if ( (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) &&
+ (globals.MenuStatus.Error_Screen == NO) &&
+ (globals.MenuStatus.Nonstd_Display == NO)) {
Show_Main_Menu();
}
}