Removed tiny buggette in the heat timing code.
This commit is contained in:
parent
c33d1ac723
commit
c9f2cb2b0b
2 changed files with 2 additions and 2 deletions
2
Heat.cpp
2
Heat.cpp
|
@ -49,7 +49,7 @@ void Heat::Spin()
|
|||
if(!active)
|
||||
return;
|
||||
|
||||
unsigned long t = platform->Time();
|
||||
float t = platform->Time();
|
||||
if(t - lastTime < platform->HeatSampleTime())
|
||||
return;
|
||||
lastTime = t;
|
||||
|
|
2
Move.cpp
2
Move.cpp
|
@ -661,7 +661,7 @@ void Move::InterruptTime()
|
|||
float v = 50;
|
||||
lookAheadDDA->Init(a, b, u, v);
|
||||
lookAheadDDA->Start(false);
|
||||
unsigned long t = platform->Time();
|
||||
float t = platform->Time();
|
||||
for(long i = 0; i < 100000; i++)
|
||||
lookAheadDDA->Step(false);
|
||||
t = platform->Time() - t;
|
||||
|
|
Reference in a new issue