Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bdring committed Dec 27, 2024
1 parent 5702c1a commit 8b0f321
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions FluidNC/src/Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@ static void protocol_do_alarm(void* alarmVoid) {
static void protocol_start_holding() {
if (!(sys.suspend.bit.motionCancel || sys.suspend.bit.jogCancel)) { // Block, if already holding.
sys.step_control = {};
if (!Stepper::update_plan_block_parameters()) { // Notify stepper module to recompute for hold deceleration.
//sys.step_control.endMotion = true;
}
Stepper::update_plan_block_parameters();
sys.step_control.executeHold = true; // Initiate suspend state with active flag.
}
}
Expand Down

0 comments on commit 8b0f321

Please sign in to comment.