diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 01:03:05 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 01:03:05 +0900 |
commit | 272c3604bab1715c47b9eca8cbac172071015c0d (patch) | |
tree | af04e78b391eb93ca46273d26cb111f4347aa8f8 /menus.c | |
parent | bdd26361af532467dd5925252ac16e7a5e56ea18 (diff) |
Only ignore polarity when shown to user. Use polarity when considering calibration ranges.
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1102,12 +1102,12 @@ static void Display_Number_on_LCD(int Is_Item_Visible,int LCD_row,int LCD_col,ch break; case Show_amplitude: - Submenu_Value=globals.ChannelState[channel].amplitude; - if (globals.Flash.ignore_ampl_polarity[channel]) { show_plus_sign=NO; + Submenu_Value=fabs(globals.ChannelState[channel].amplitude); } else { show_plus_sign=YES; + Submenu_Value=globals.ChannelState[channel].amplitude; } if (globals.Flash.voltage_enabled[channel]) { |