Skip to content

Commit d4d8149

Browse files
authored
Merge pull request prusa3d#3438 from leptun/MK3_reset_acceleration_rates_on_steps_per_mm_change
Reset acceleration rates when changing microstepping resolution
2 parents a4887b5 + 159c4cf commit d4d8149

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firmware/Marlin_main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6952,6 +6952,7 @@ SERIAL_PROTOCOLPGM("\n\n");
69526952
}
69536953
}
69546954
}
6955+
reset_acceleration_rates();
69556956
break;
69566957

69576958
/*!
@@ -8789,6 +8790,7 @@ SERIAL_PROTOCOLPGM("\n\n");
87898790
}
87908791
}
87918792
}
8793+
reset_acceleration_rates();
87928794
#else //TMC2130
87938795
#if defined(X_MS1_PIN) && X_MS1_PIN > -1
87948796
if(code_seen('S')) for(int i=0;i<=4;i++) microstep_mode(i,code_value());

0 commit comments

Comments
 (0)