blob: 61c817c558691d59d5271fb8215e60248cef7e9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- qsstv/rig/rigcontrol.cpp.orig 2019-04-19 04:54:51 UTC
+++ qsstv/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",
|