summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/ftnoir_tracker_hat_settings.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-09 16:25:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-09 16:25:31 +0200
commitacec691b5d6d6373e8f8f41f288d5fb6e2f84215 (patch)
tree1f1b7f6b98ddea8e4f9b750fff452337864e254f /tracker-hatire/ftnoir_tracker_hat_settings.h
parentfd0ad89c7c6f61aa14d6e908e9217121f4afa5c6 (diff)
tracker/hatire: add serial 100% cpu usage workaround
Issue: #327
Diffstat (limited to 'tracker-hatire/ftnoir_tracker_hat_settings.h')
-rwxr-xr-xtracker-hatire/ftnoir_tracker_hat_settings.h3
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 92dacd42..53ab8870 100755
--- 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, serial_bug_workaround;
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),
+ serial_bug_workaround(b, "serial-bug-workaround", false),
QSerialPortName(b, "serial-port-name", ""),
pBaudRate(b, "baud-rate", QSerialPort::Baud115200),
pDataBits(b, "data-bits", QSerialPort::Data8),