summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h
index c831df61..89f54bd5 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -77,12 +77,12 @@ public:
altp = iniFile.value(secondary).toBool();
iniFile.endGroup();
}
- double headPos; // Current position (from faceTracker, radials or meters)
- float invert; // Invert measured value (= 1.0f or -1.0f)
+ volatile double headPos; // Current position (from faceTracker, radials or meters)
+ volatile float invert; // Invert measured value (= 1.0f or -1.0f)
FunctionConfig curve; // Function to translate input -> output
FunctionConfig curveAlt;
- bool altp;
- double zero;
+ volatile bool altp;
+ volatile double zero;
};
class Tracker : public QThread {