From 549ad222b12420ee72dedf57edef496ec9dff8ba Mon Sep 17 00:00:00 2001 From: DL1YCF Date: Sun, 26 Apr 2020 19:06:15 +0200 Subject: [PATCH] oops. --- radio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radio.c b/radio.c index a945efb..e4f2217 100644 --- a/radio.c +++ b/radio.c @@ -753,12 +753,14 @@ void start_radio() { mac, iface); break; - case SOAPSDR_PROTOCOL: +#ifdef SOAPYSDR + case SOAPYSDR_PROTOCOL: sprintf(text,"piHPSDR: %s (%s %s", radio->name, p, version); break; +#endif } gtk_window_set_title (GTK_WINDOW (top_window), text); @@ -1757,9 +1759,11 @@ void set_attenuation(int value) { case NEW_PROTOCOL: schedule_high_priority(); break; +#ifdef SOAPYSDR case SOAPYSDR_PROTOCOL: soapy_protocol_set_gain(active_receiver,value * 1.0); break; +#endif } } -- 2.45.2