From 81c11636878192e3e75a127bc5984ce53e08def2 Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 26 Feb 2020 12:18:18 +0100 Subject: [PATCH] User watt meter calibration both for fwd and rev power. --- transmitter.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/transmitter.c b/transmitter.c index c732f4e..f709b84 100644 --- a/transmitter.c +++ b/transmitter.c @@ -563,11 +563,12 @@ static gboolean update_display(gpointer data) { } double fwd=compute_power(transmitter->fwd); + double rev=compute_power(transmitter->rev); -//g_print("transmitter: meter_update: fwd:%f->%f rev:%f ex_fwd=%d alex_fwd=%d alex_rev=%d\n",transmitter->fwd,fwd,transmitter->rev,exciter_power,alex_forward_power,alex_reverse_power); +//g_print("transmitter: meter_update: fwd:%f->%f rev:%f->%f ex_fwd=%d alex_fwd=%d alex_rev=%d\n",transmitter->fwd,fwd,transmitter->rev,rev,exciter_power,alex_forward_power,alex_reverse_power); if(!duplex) { - meter_update(active_receiver,POWER,/*transmitter->*/fwd,transmitter->rev,transmitter->exciter,transmitter->alc); + meter_update(active_receiver,POWER,/*transmitter->*/fwd,/*transmitter->*/rev,transmitter->exciter,transmitter->alc); } return TRUE; // keep going -- 2.45.2