summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-08 02:16:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-08 02:16:53 +0200
commit9868b751ce89808ef317e212c7620af9bb7e90d2 (patch)
treedc8a2e46e54ae8aecb3c8f7007726959c1631933 /tracker-hatire/thread.hpp
parent91fd6258ccc3ab8bf67f4c27308c2197a8badfa3 (diff)
tracker/hatire: fix breakage
Issue: #139
Diffstat (limited to 'tracker-hatire/thread.hpp')
-rw-r--r--tracker-hatire/thread.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-hatire/thread.hpp b/tracker-hatire/thread.hpp
index 962b902b..93c50c9e 100644
--- a/tracker-hatire/thread.hpp
+++ b/tracker-hatire/thread.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "ftnoir_arduino_type.h"
#include "ftnoir_tracker_hat_settings.h"
#include <QSerialPort>
@@ -20,7 +21,7 @@ enum results
result_error,
};
-//#define HATIRE_DEBUG_LOGFILE "d:/putty-hatire.log"
+//#define HATIRE_DEBUG_LOGFILE "c:/users/sthalik/test-random"
#ifdef HATIRE_DEBUG_LOGFILE
# include <QFile>
@@ -52,6 +53,7 @@ class hatire_thread : public QThread
TrackerSettings s;
variance stat;
Timer timer, throttle_timer;
+ char buf[1024];
void run() override;
static inline QByteArray to_latin1(const QString& str) { return str.toLatin1(); }