PulseGen: typos in comments
parent
16e7f62aee
commit
9bb1bf4a53
|
|
@ -94,7 +94,7 @@ bool PulseGen::PlanMoveTo(pos_t target, steps_t feed_rate) {
|
||||||
// Bail if this is a zero-length block
|
// Bail if this is a zero-length block
|
||||||
block->steps = abs(target - position);
|
block->steps = abs(target - position);
|
||||||
if (block->steps <= config::dropSegments) {
|
if (block->steps <= config::dropSegments) {
|
||||||
// behave as-if the block as been scheduled
|
// behave as-if the block has been scheduled
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,9 +77,9 @@ public:
|
||||||
acceleration_time = calc_timer(acc_step_rate, step_loops);
|
acceleration_time = calc_timer(acc_step_rate, step_loops);
|
||||||
steps_completed = 0;
|
steps_completed = 0;
|
||||||
|
|
||||||
// Set the nominal step loops to zero to indicate, that the timer value is not
|
// Set the nominal step loops to zero to indicate that the timer value is not
|
||||||
// known yet. That means, delay the initialization of nominal step rate and step
|
// known yet. That means, delay the initialization of nominal step rate and
|
||||||
// loops until the steady state is reached.
|
// step loops until the steady state is reached.
|
||||||
step_loops_nominal = 0;
|
step_loops_nominal = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue