opnsense-ports/comms/qsstv/files/patch-rig_rigcontrol.cpp
Franco Fichtner aaf4bf9d65 */*: sync with upstream
Taken from: FreeBSD
2021-12-08 08:30:23 +01:00

11 lines
495 B
C++

--- 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",