Comment/cleanup of motion code
This commit is contained in:
1 parent
046a1ad331
commit
000b3b3117
6 files changed
+78
-105
No files matched your search
@@ -409,8 +409,7 @@ void Stepper::isr() {
|
||||
// If there is no current block, attempt to pop one from the buffer
|
||||
if (!current_block) {
|
||||
// Anything in the buffer?
|
||||
current_block = planner.get_current_block();
|
||||
if (current_block) {
|
||||
if ((current_block = planner.get_current_block())) {
|
||||
trapezoid_generator_reset();
|
||||
|
||||
// Initialize Bresenham counters to 1/2 the ceiling
|
||||
|
||||
Reference in new issue
Block a user