mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-24 15:13:54 -06:00
🎨 Misc. IS cleanup
This commit is contained in:
parent
071f009438
commit
e744ca78a8
2 changed files with 3 additions and 3 deletions
|
@ -49,8 +49,8 @@ void GcodeSuite::M593_report(const bool forReplay/*=true*/) {
|
||||||
* D<factor> Set the zeta/damping factor. If axes (X, Y, etc.) are not specified, set for all axes.
|
* D<factor> Set the zeta/damping factor. If axes (X, Y, etc.) are not specified, set for all axes.
|
||||||
* F<frequency> Set the frequency. If axes (X, Y, etc.) are not specified, set for all axes.
|
* F<frequency> Set the frequency. If axes (X, Y, etc.) are not specified, set for all axes.
|
||||||
* T[map] Input Shaping type, 0:ZV, 1:EI, 2:2H EI (not implemented yet)
|
* T[map] Input Shaping type, 0:ZV, 1:EI, 2:2H EI (not implemented yet)
|
||||||
* X<1> Set the given parameters only for the X axis.
|
* X Set the given parameters only for the X axis.
|
||||||
* Y<1> Set the given parameters only for the Y axis.
|
* Y Set the given parameters only for the Y axis.
|
||||||
*/
|
*/
|
||||||
void GcodeSuite::M593() {
|
void GcodeSuite::M593() {
|
||||||
if (!parser.seen_any()) return M593_report();
|
if (!parser.seen_any()) return M593_report();
|
||||||
|
|
|
@ -3015,7 +3015,7 @@ void Stepper::init() {
|
||||||
|
|
||||||
void Stepper::set_shaping_frequency(const AxisEnum axis, const float freq) {
|
void Stepper::set_shaping_frequency(const AxisEnum axis, const float freq) {
|
||||||
// enabling or disabling shaping whilst moving can result in lost steps
|
// enabling or disabling shaping whilst moving can result in lost steps
|
||||||
Planner::synchronize();
|
planner.synchronize();
|
||||||
|
|
||||||
const bool was_on = hal.isr_state();
|
const bool was_on = hal.isr_state();
|
||||||
hal.isr_off();
|
hal.isr_off();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue