diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-29 10:55:34 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-29 10:55:34 -0400 |
commit | facf818bfa54d1fc553cf06a0f22012ea033ace0 (patch) | |
tree | 254143d4d025f5b2d37af59e95470b48ba9421c4 /parser.c | |
parent | b127640ef5f09b10a648701c52f950f3fe569ce6 (diff) |
add some menu variables as globals, to remove FIXMEs
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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(); } |