]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
HERMESLITE2 update
authorc vw <dl1ycf@darc.de>
Mon, 9 Nov 2020 18:08:29 +0000 (19:08 +0100)
committerc vw <dl1ycf@darc.de>
Mon, 9 Nov 2020 18:08:29 +0000 (19:08 +0100)
old_protocol.c

index f5a5b2b435ee987690ab4e721358b63626f3d4c0..544d27162581ad5a6a69819b01cfe970a65174be 100644 (file)
@@ -1903,7 +1903,7 @@ static int last_power=0;
              output_buffer[C1]|=(receiver[1]->adc<<(2*rx2channel));
            }
        }
-        if (have_rx_gain) {
+        if (device == DEVICE_HERMES_LITE2) {
           //
           // On the HermesLite2, we need bit7 set to make this feature active,
           // and need bit6 set to tell HL2 to directly use the lowest 6 bits