diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-12 11:40:43 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-12 11:40:43 +0200 |
commit | b98f07d984dff6718d7184ed1bf68709f4dae348 (patch) | |
tree | 005d72fc084cebc0107fae9f396b5dd2a1b04cde /qfunctionconfigurator/functionconfig.h | |
parent | 79f3cabf4639be401ae79ca73f58fdec84e5e2e0 (diff) |
reduce CPU usage during tracking
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r-- | qfunctionconfigurator/functionconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index d81711a7..9f380000 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -28,7 +28,7 @@ private: QString _title;
float getValueInternal(int x);
QPointF lastValueTracked; // The last input value requested by the Tracker, with it's output-value.
- bool _tracking_active;
+ volatile bool _tracking_active;
int _max_Input;
int _max_Output;
|