summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-29 10:55:34 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-29 10:55:34 -0400
commitfacf818bfa54d1fc553cf06a0f22012ea033ace0 (patch)
tree254143d4d025f5b2d37af59e95470b48ba9421c4 /parser.c
parentb127640ef5f09b10a648701c52f950f3fe569ce6 (diff)
add some menu variables as globals, to remove FIXMEs
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/parser.c b/parser.c
index d7cf46e..d5be649 100644
--- a/parser.c
+++ b/parser.c
@@ -16,6 +16,7 @@ END DESCRIPTION **********************************************************/
#include "version.h"
#include "dummy_functions.h"
#include "i2c.h"
+#include "lcd.h"
#include <glib/gprintf.h>
//STATICS
@@ -1086,9 +1087,7 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer
/* update display if it wasn't a query, and if the control menu isn't on (this gives the user
a chance to press "Go To Local" to override control */
- int Selected_Submenu=0, Submenu1_rem_loc=0, Type_Of_Menu=0, Submenu_On=0;
-
- if (!is_query && !(Selected_Submenu==Submenu1_rem_loc && Type_Of_Menu==Submenu_On)) {
+ if (!is_query && !(globals.MenuStatus.Selected_Submenu==Submenu1_rem_loc && globals.MenuStatus.Type_Of_Menu==Submenu_On)) {
Menu_Update_Display();
}