From 2043bb7b2a4e2bc32acd164ce145520569c18aa9 Mon Sep 17 00:00:00 2001 From: PianetaRadio <78976006+PianetaRadio@users.noreply.github.com> Date: Tue, 30 May 2023 21:44:47 +0200 Subject: [PATCH] NR level #40 --- rigdaemon.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rigdaemon.cpp b/rigdaemon.cpp index 02d76d0..322aa9b 100644 --- a/rigdaemon.cpp +++ b/rigdaemon.cpp @@ -453,10 +453,11 @@ void RigDaemon::rigUpdate(RIG *my_rig) if (rigCmd.noiseReductionLevel) { - retvalue.i = rigSet.noiseReductionLevel; + retvalue.f = rigSet.noiseReductionLevel/15.0; retcode = rig_set_level(my_rig, RIG_VFO_CURR, RIG_LEVEL_NR, retvalue); if (retcode == RIG_OK) rigGet.noiseReductionLevel = rigSet.noiseReductionLevel; rigCmd.noiseReductionLevel = 0; + //qDebug()<<"set "<