]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
set have_rx_gain=1 for SOAPYSDR_PROTOCOL
authorJohn Melton G0ORX <john.d.melton@googlemail.com>
Tue, 3 Mar 2020 15:42:30 +0000 (15:42 +0000)
committerJohn Melton G0ORX <john.d.melton@googlemail.com>
Tue, 3 Mar 2020 15:42:30 +0000 (15:42 +0000)
radio.c

diff --git a/radio.c b/radio.c
index ba0f259c12619bbca2cf4ba855f623377412d478..eb7635f74aec285c87dd3416e5c3ef8efba42102 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -543,6 +543,12 @@ void start_radio() {
                break;
        }
        break;
+#ifdef SOAPYSDR
+    case SOAPYSDR_PROTOCOL:
+       have_rx_gain=1;
+       rx_gain_calibration=10;
+        break;
+#endif
     default:
        have_rx_gain=0;
        break;