From 61990ae8b79aca30745eca02b44e63c377504176 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 6 Sep 2012 13:06:35 -0400 Subject: add a periodic_poll function to check buttons (and gpib in future) --- menus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'menus.c') diff --git a/menus.c b/menus.c index e6d3776..0d9a859 100644 --- a/menus.c +++ b/menus.c @@ -2895,7 +2895,7 @@ static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower } -GSourceFunc Menu_Check_Buttons(void) +void Menu_Check_Buttons(void) { int button_port_val; int upper_encoder_val; @@ -2987,8 +2987,6 @@ GSourceFunc Menu_Check_Buttons(void) Submenu_Service_Encoder(encoder_change); } } - - return TRUE; } -- cgit