🎨 Cosmetic cleanup 23-01
This commit is contained in:
@@ -2597,20 +2597,16 @@ hal_timer_t Stepper::block_phase_isr() {
|
||||
|
||||
AxisBits didmove;
|
||||
NUM_AXIS_CODE(
|
||||
if (X_MOVE_TEST) didmove.a = true,
|
||||
if (Y_MOVE_TEST) didmove.b = true,
|
||||
if (Z_MOVE_TEST) didmove.c = true,
|
||||
if (current_block->steps.i) didmove.i = true,
|
||||
if (current_block->steps.j) didmove.j = true,
|
||||
if (current_block->steps.k) didmove.k = true,
|
||||
if (current_block->steps.u) didmove.u = true,
|
||||
if (current_block->steps.v) didmove.v = true,
|
||||
if (current_block->steps.w) didmove.w = true
|
||||
if (X_MOVE_TEST) didmove.a = true,
|
||||
if (Y_MOVE_TEST) didmove.b = true,
|
||||
if (Z_MOVE_TEST) didmove.c = true,
|
||||
if (!!current_block->steps.i) didmove.i = true,
|
||||
if (!!current_block->steps.j) didmove.j = true,
|
||||
if (!!current_block->steps.k) didmove.k = true,
|
||||
if (!!current_block->steps.u) didmove.u = true,
|
||||
if (!!current_block->steps.v) didmove.v = true,
|
||||
if (!!current_block->steps.w) didmove.w = true
|
||||
);
|
||||
//if (current_block->steps.e) didmove.e = true;
|
||||
//if (current_block->steps.a) didmove.x = true;
|
||||
//if (current_block->steps.b) didmove.y = true;
|
||||
//if (current_block->steps.c) didmove.z = true;
|
||||
axis_did_move = didmove;
|
||||
|
||||
// No acceleration / deceleration time elapsed so far
|
||||
|
Reference in New Issue
Block a user