summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-05 09:55:10 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-05 09:55:10 -0400
commite6a964f0f88b90cdb559e2ae5ce2e73e31381f99 (patch)
treee641193c1742ebdd94aa288384e7bccef35ad8c5
parente99699f25d177ca1a6e08730d91a48bf7f123f68 (diff)
have Menu_Check_Buttons return TRUE
-rw-r--r--menus.c4
-rw-r--r--menus.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/menus.c b/menus.c
index 3e492d0..f7e13ad 100644
--- a/menus.c
+++ b/menus.c
@@ -2886,7 +2886,7 @@ static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower
}
-void Menu_Check_Buttons(void)
+gboolean Menu_Check_Buttons(void)
{
int error_num;
int button_port_val;
@@ -2978,6 +2978,8 @@ void Menu_Check_Buttons(void)
Submenu_Service_Encoder(encoder_change);
}
}
+
+ return TRUE;
}
diff --git a/menus.h b/menus.h
index 177b3c3..9a5d514 100644
--- a/menus.h
+++ b/menus.h
@@ -1,4 +1,6 @@
+#include <glib.h>
+
void Menu_Refresh();
void Menu_Update_Display(void);
void Menu_Clear_Buttons(void);
-void Menu_Check_Buttons(void);
+gboolean Menu_Check_Buttons(void);