opnsense-ports/comms/qsstv/files/patch-qsstv_rig_rigcontrol.cpp
Franco Fichtner 8f3ba38411 */*: sync with upstream
Taken from: HardenedBSD
2019-04-17 13:22:42 +02:00

11 lines
507 B
C++

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