diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -4,7 +4,9 @@ #include "error_utils.h" #include "string_utils.h" #include "device-functions.h" +#include "dummy_functions.h" #include "version.h" +#include "flash.h" #include <glib.h> @@ -203,6 +205,7 @@ static void Nonstd_menu_model_info(void); static void Menu_Check_Buttons(void); static int Submenu_Implement_Changes(void); static void Nonstd_menu_network(void); +static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val); void Menu_Refresh() @@ -2841,11 +2844,7 @@ void Menu_Clear_Buttons(void) } -/*** BeginHeader Read_Keypad */ -int Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val); -/*** EndHeader */ -/*----------------------------------------------------------------------------------------------------------*/ -int Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val) +static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val) { #define Overload_Input 64 /* mask for main overload input */ #define Over_Temp 0x10 /* over-temperature */ @@ -3031,7 +3030,6 @@ static int Submenu_Implement_Changes(void) { int error_num; int call_new_submenu; - int check_valid; int channel,eprom_loc; call_new_submenu=NO; |