summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-04-29 00:20:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-04-29 00:20:08 +0200
commit1227e6ba5d23dad303761d57a85b6d4b221282b2 (patch)
tree6d8687cae1a2bc98f19bb6d47936d9242d09d61f /tracker-hatire/thread.cpp
parenta1b9cb908948375ec0cfd31b34c978b3ad842a29 (diff)
tracker/hatire: enable setting DTR on com port
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r--tracker-hatire/thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp
index 533aaebf..7d61a90a 100644
--- a/tracker-hatire/thread.cpp
+++ b/tracker-hatire/thread.cpp
@@ -168,6 +168,7 @@ serial_result hatire_thread::init_serial_port_impl()
&& com_port.setParity((QSerialPort::Parity)s.pParity)
&& com_port.setStopBits((QSerialPort::StopBits)s.pStopBits)
&& com_port.setFlowControl((QSerialPort::FlowControl)s.pFlowControl)
+ && com_port.setDataTerminalReady(s.pDTR)
&& com_port.clear(QSerialPort::AllDirections)
)
{