From 4d420d4febd0a315eab9049df98b3dccc39d4610 Mon Sep 17 00:00:00 2001 From: c vw Date: Tue, 1 Jun 2021 17:05:02 +0200 Subject: [PATCH] Add units (W / dB) to exciter power and ALC --- tx_panadapter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tx_panadapter.c b/tx_panadapter.c index ac0e114..8c272c6 100644 --- a/tx_panadapter.c +++ b/tx_panadapter.c @@ -406,7 +406,7 @@ void tx_panadapter_update(TRANSMITTER *tx) { cairo_set_font_size(cr, DISPLAY_FONT_SIZE3); if(transmitter->fwd<0.0001) { - sprintf(text,"FWD %0.3f",transmitter->exciter); + sprintf(text,"FWD %0.3f W",transmitter->exciter); } else { static int max_count=0; static double max_level=0.0; @@ -427,7 +427,7 @@ void tx_panadapter_update(TRANSMITTER *tx) { cairo_move_to(cr,10,30); cairo_show_text(cr, text); - sprintf(text,"ALC %2.1f",transmitter->alc); + sprintf(text,"ALC %2.1f dB",transmitter->alc); cairo_move_to(cr,10,45); cairo_show_text(cr, text); @@ -475,7 +475,6 @@ void tx_panadapter_update(TRANSMITTER *tx) { cairo_move_to(cr, 160.0, 30.0); cairo_show_text(cr, text); - if (tx_fifo_overrun || tx_fifo_underrun) { cairo_set_source_rgb(cr,1.0,0.0,0.0); if (tx_fifo_underrun) { -- 2.45.2