Skip to content

Commit

Permalink
[SofaHaptics] Fix LCPForceFeedback_test compilation on gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
epernod committed Oct 31, 2020
1 parent 0316f98 commit 39521c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include <SofaBaseMechanics/MechanicalObject.h>
#include <SofaHaptics/LCPForceFeedback.h>
#include <thread>


namespace sofa
Expand Down Expand Up @@ -92,7 +93,6 @@ void LCPForceFeedback_test::HapticsThread(std::atomic<bool>& terminate, void * p
LCPForceFeedback_test* driverTest = static_cast<LCPForceFeedback_test*>(p_this);

// Loop Timer
HANDLE h_timer;
long targetSpeedLoop = 1; // Target loop speed: 1ms

ctime_t refTicksPerMs = CTime::getRefTicksPerSec() / 1000;
Expand Down

0 comments on commit 39521c6

Please sign in to comment.