diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-11 17:42:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-11 17:42:05 +0200 |
commit | e5276167b90c9f156c31fd811a7106f1880b2856 (patch) | |
tree | bc1395aa4108664fc56b0d0b58bd4f0e3d063e3a /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | |
parent | afbca18600670b900eaa0ab30a296428d66eaaaf (diff) |
use the precise counter
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp index 162e4343..cbc1f1dc 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp @@ -74,7 +74,7 @@ void Tracker::run() if (commands & PAUSE) continue;
commands = 0;
- dt = time.restart() / 1000.0;
+ dt = time.start() / 1000.0;
new_frame = camera.get_frame(dt, &frame);
|