diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-30 12:58:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-30 12:58:09 +0100 |
commit | a54f8dede2cc679d0ef2fe30369cf3764ad3ab54 (patch) | |
tree | 71b799d91e2a31bb39dc2160c3c7aeb4f046d83d /ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp | |
parent | 9bc97c68bdc64bc4d5735a377b41cf0d697a7824 (diff) |
hatire: don't hardcode stuff in lookup tables
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp')
-rw-r--r-- | ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp | 10 |
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 { |