summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-30 12:01:27 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-30 12:01:27 -0400
commit08a7ae9ef2b3943e5b3bba5aca1d3bcfbbec9535 (patch)
tree42c94fc4ebc02af03607244ec60ba689db197551 /menus.c
parent745bb897095935b1c776f99d6e48d110e9c46621 (diff)
remove unused parameter
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c10
1 files changed, 5 insertions, 5 deletions
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])<globals.Flash.ampl_zero_equiv[channel]) {
@@ -1955,9 +1955,9 @@ static void Submenu_Display(int redraw)
break;
case mode_amp_max:
if (globals.Flash.voltage_enabled[channel]) {
- String_Parameter_To_Text(globals.Flash.max_ampl[channel],0,2,"","V",mode_name[i],YES);
+ String_Parameter_To_Text(globals.Flash.max_ampl[channel],2,"","V",mode_name[i],YES);
} else {
- String_Parameter_To_Text(globals.Flash.max_ampl[channel],0,2,"","A",mode_name[i],YES);
+ String_Parameter_To_Text(globals.Flash.max_ampl[channel],2,"","A",mode_name[i],YES);
}
if (fabs(globals.ChannelState[channel].amplitude-globals.Flash.max_ampl[channel])<globals.Flash.ampl_zero_equiv[channel]) {