summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:03:05 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:03:05 +0900
commit272c3604bab1715c47b9eca8cbac172071015c0d (patch)
treeaf04e78b391eb93ca46273d26cb111f4347aa8f8 /menus.c
parentbdd26361af532467dd5925252ac16e7a5e56ea18 (diff)
Only ignore polarity when shown to user. Use polarity when considering calibration ranges.
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menus.c b/menus.c
index d205812..f717508 100644
--- a/menus.c
+++ b/menus.c
@@ -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]) {