Merge pull request #3438 from leptun/MK3_reset_acceleration_rates_on_steps_per_mm_change

Reset acceleration rates when changing microstepping resolution
This commit is contained in:
Alex Voinea 2022-04-21 13:59:55 +02:00 committed by GitHub
commit d4d8149c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6952,6 +6952,7 @@ Sigma_Exit:
}
}
}
reset_acceleration_rates();
break;
/*!
@ -8789,6 +8790,7 @@ Sigma_Exit:
}
}
}
reset_acceleration_rates();
#else //TMC2130
#if defined(X_MS1_PIN) && X_MS1_PIN > -1
if(code_seen('S')) for(int i=0;i<=4;i++) microstep_mode(i,code_value());