From: DL1YCF <dl1ycf@darc.de>
Date: Mon, 25 May 2020 19:31:08 +0000 (+0200)
Subject: allow SOAPY tx without microphone (e.g. for doing CW)
X-Git-Url: https://git.rkrishnan.org/simplejson/decoder.py.html?a=commitdiff_plain;h=5473d788039ef677dd9b3763df648ccbb8707095;p=pihpsdr.git

allow SOAPY tx without microphone (e.g. for doing CW)
---

diff --git a/radio.c b/radio.c
index 26e7bbe..09dcdb9 100644
--- a/radio.c
+++ b/radio.c
@@ -1462,9 +1462,6 @@ static void rxtx(int state) {
 
 void setMox(int state) {
   if(!can_transmit) return;
-#ifdef SOAPYSDR
-  if(protocol==SOAPYSDR_PROTOCOL && !transmitter->local_microphone) return;
-#endif
   vox_cancel();  // remove time-out
   if(mox!=state) {
     if (state && vox) {