summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-30 12:58:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-30 12:58:09 +0100
commita54f8dede2cc679d0ef2fe30369cf3764ad3ab54 (patch)
tree71b799d91e2a31bb39dc2160c3c7aeb4f046d83d /ftnoir_tracker_hatire
parent9bc97c68bdc64bc4d5735a377b41cf0d697a7824 (diff)
hatire: don't hardcode stuff in lookup tables
Diffstat (limited to 'ftnoir_tracker_hatire')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
index dc4b2879..3547dd6b 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
@@ -262,11 +262,11 @@ void FTNoIR_Tracker::StopTracker( bool exit )
void FTNoIR_Tracker::StartTracker(QFrame*)
{
static const int databits_lookup[] = {
- 5,
- 6,
- 7,
- 8,
- -1
+ QSerialPort::Data5,
+ QSerialPort::Data6,
+ QSerialPort::Data7,
+ QSerialPort::Data8,
+ QSerialPort::UnknownDataBits
};
struct Local {