aboutsummaryrefslogtreecommitdiff
path: root/comms/qsstv/files/patch-rig_rigcontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'comms/qsstv/files/patch-rig_rigcontrol.cpp')
-rw-r--r--comms/qsstv/files/patch-rig_rigcontrol.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/qsstv/files/patch-rig_rigcontrol.cpp b/comms/qsstv/files/patch-rig_rigcontrol.cpp
new file mode 100644
index 000000000000..e0af8c6b362b
--- /dev/null
+++ b/comms/qsstv/files/patch-rig_rigcontrol.cpp
@@ -0,0 +1,11 @@
+--- rig/rigcontrol.cpp.orig 2019-04-19 04:54:51 UTC
++++ rig/rigcontrol.cpp
+@@ -377,7 +377,7 @@ void rigControl::activatePTT(bool b)
+ if (catParams.pttSerialPort.isEmpty()) return;
+ if(serialP==0)
+ {
+- serialP=::open(catParams.pttSerialPort.toLatin1().data(),O_RDWR);
++ serialP=::open(catParams.pttSerialPort.toLatin1().data(),O_RDWR|O_NONBLOCK);
+ if (serialP<=0)
+ {
+ QMessageBox::warning(txWidgetPtr,"Serial Port Error",