From 08a7ae9ef2b3943e5b3bba5aca1d3bcfbbec9535 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 30 Aug 2012 12:01:27 -0400 Subject: remove unused parameter --- menus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'menus.c') diff --git a/menus.c b/menus.c index ac10eb1..e002b11 100644 --- a/menus.c +++ b/menus.c @@ -1235,7 +1235,7 @@ static void Display_Number_on_LCD(int Is_Item_Visible,int LCD_row,int LCD_col,ch break; } - String_Parameter_To_Text(Submenu_Value,(int) Submenu_Value,significant_digits,start_string,units,LCD_string,show_plus_sign); + String_Parameter_To_Text(Submenu_Value,significant_digits,start_string,units,LCD_string,show_plus_sign); } else { strcpy(LCD_string,start_string); } @@ -1944,9 +1944,9 @@ static void Submenu_Display(int redraw) break; case mode_amp_min: if (globals.Flash.voltage_enabled[channel]) { - String_Parameter_To_Text(globals.Flash.min_ampl[channel],0,2,"","V",mode_name[i],YES); + String_Parameter_To_Text(globals.Flash.min_ampl[channel],2,"","V",mode_name[i],YES); } else { - String_Parameter_To_Text(globals.Flash.min_ampl[channel],0,2,"","A",mode_name[i],YES); + String_Parameter_To_Text(globals.Flash.min_ampl[channel],2,"","A",mode_name[i],YES); } if (fabs(globals.ChannelState[channel].amplitude-globals.Flash.min_ampl[channel])