diff --git a/src/modules/pulse_gen.cpp b/src/modules/pulse_gen.cpp index b8e51be..449ff50 100644 --- a/src/modules/pulse_gen.cpp +++ b/src/modules/pulse_gen.cpp @@ -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; } diff --git a/src/modules/pulse_gen.h b/src/modules/pulse_gen.h index b3ca9a5..37554f1 100644 --- a/src/modules/pulse_gen.h +++ b/src/modules/pulse_gen.h @@ -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; }