HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1acda
)
don't step unless next move is processed
author
Jim Morris
<morris@wolfman.com>
Sat, 29 Nov 2014 22:26:37 +0000
(14:26 -0800)
committer
Jim Morris
<morris@wolfman.com>
Sat, 29 Nov 2014 22:26:37 +0000
(14:26 -0800)
src/libs/StepperMotor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/StepperMotor.cpp
b/src/libs/StepperMotor.cpp
index
8a49e29
..
24bb0e6
100644
(file)
--- a/
src/libs/StepperMotor.cpp
+++ b/
src/libs/StepperMotor.cpp
@@
-61,7
+61,7
@@
void StepperMotor::init()
void StepperMotor::step()
{
// we can't do anything until the next move has been processed, but we will be able to offset the time by shortening the next step
- if(
THEKERNEL->step_ticker->a
_move_finished) return;
+ if(
this->is
_move_finished) return;
// output to pins 37t
this->step_pin.set( 1 );