Fix scoping problem (fixes issue #70)
This commit is contained in:
parent
0e91bea8f1
commit
7d0613748f
1 changed files with 1 additions and 1 deletions
|
|
@ -1181,7 +1181,7 @@ inline void linear_move(unsigned long axis_steps_remaining[]) // make linear mov
|
||||||
|
|
||||||
//move until no more steps remain
|
//move until no more steps remain
|
||||||
while(axis_steps_remaining[0] + axis_steps_remaining[1] + axis_steps_remaining[2] + axis_steps_remaining[3] > 0) {
|
while(axis_steps_remaining[0] + axis_steps_remaining[1] + axis_steps_remaining[2] + axis_steps_remaining[3] > 0) {
|
||||||
#ifdef DISABLE_CHECK_DURING_ACC
|
#if defined RAMP_ACCELERATION && defined DISABLE_CHECK_DURING_ACC
|
||||||
if(!accelerating && !decelerating) {
|
if(!accelerating && !decelerating) {
|
||||||
//If more that HEATER_CHECK_INTERVAL ms have passed since previous heating check, adjust temp
|
//If more that HEATER_CHECK_INTERVAL ms have passed since previous heating check, adjust temp
|
||||||
#ifdef DISABLE_CHECK_DURING_TRAVEL
|
#ifdef DISABLE_CHECK_DURING_TRAVEL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue