diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-04-29 00:20:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-04-29 00:20:08 +0200 |
commit | 1227e6ba5d23dad303761d57a85b6d4b221282b2 (patch) | |
tree | 6d8687cae1a2bc98f19bb6d47936d9242d09d61f /tracker-hatire/ftnoir_tracker_hat_settings.h | |
parent | a1b9cb908948375ec0cfd31b34c978b3ad842a29 (diff) |
tracker/hatire: enable setting DTR on com port
Diffstat (limited to 'tracker-hatire/ftnoir_tracker_hat_settings.h')
-rw-r--r-- | tracker-hatire/ftnoir_tracker_hat_settings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-hatire/ftnoir_tracker_hat_settings.h b/tracker-hatire/ftnoir_tracker_hat_settings.h index a41f906d..b17042c7 100644 --- a/tracker-hatire/ftnoir_tracker_hat_settings.h +++ b/tracker-hatire/ftnoir_tracker_hat_settings.h @@ -22,7 +22,7 @@ struct TrackerSettings : opts value<int> DelayInit, DelayStart, DelaySeq; - value<bool> BigEndian, EnableLogging; + value<bool> BigEndian, EnableLogging, pDTR; value<QString> QSerialPortName; @@ -63,6 +63,7 @@ struct TrackerSettings : opts DelaySeq(b, "after-start-delay", 0), BigEndian(b, "is-big-endian", false), EnableLogging(b, "enable-logging", false), + pDTR(b, "data-terminal-ready", false), QSerialPortName(b, "serial-port-name", ""), pBaudRate(b, "baud-rate", QSerialPort::Baud115200), pDataBits(b, "data-bits", QSerialPort::Data8), |