From 6a15a14fc7069fd72522dd82b8c64a4bdee21f54 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Wed, 2 Oct 2013 14:53:07 -0400 Subject: do not show polarity sign for positive-only amplitudes --- menus.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/menus.c b/menus.c index a2dc139..839e2cf 100644 --- a/menus.c +++ b/menus.c @@ -1098,7 +1098,11 @@ static void Display_Number_on_LCD(int Is_Item_Visible,int LCD_row,int LCD_col,ch case Show_amplitude: Submenu_Value=globals.ChannelState[channel].amplitude; - show_plus_sign=YES; + if ((globals.Flash.min_ampl[channel]<0.0) || (globals.Flash.min_vout[channel]<0.0)) { + show_plus_sign=YES; + } else { + show_plus_sign=NO; + } if (globals.Flash.voltage_enabled[channel]) { units = g_strdup("V"); } else { -- cgit