PulseGen: typos in comments

pull/47/head
Yuri D'Elia 2021-07-13 00:54:03 +02:00
parent 16e7f62aee
commit 9bb1bf4a53
2 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ bool PulseGen::PlanMoveTo(pos_t target, steps_t feed_rate) {
// Bail if this is a zero-length block
block->steps = abs(target - position);
if (block->steps <= config::dropSegments) {
// behave as-if the block as been scheduled
// behave as-if the block has been scheduled
return true;
}

View File

@ -77,9 +77,9 @@ public:
acceleration_time = calc_timer(acc_step_rate, step_loops);
steps_completed = 0;
// 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
// loops until the steady state is reached.
// 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 loops until the steady state is reached.
step_loops_nominal = 0;
}