make data declarations consistent
This commit is contained in:
parent
1cb810ff1c
commit
1628a9e864
|
@ -37,7 +37,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Change EEPROM version if the structure changes
|
// Change EEPROM version if the structure changes
|
||||||
#define EEPROM_VERSION "V53"
|
#define EEPROM_VERSION "V54"
|
||||||
#define EEPROM_OFFSET 100
|
#define EEPROM_OFFSET 100
|
||||||
|
|
||||||
// Check the integrity of data offsets.
|
// Check the integrity of data offsets.
|
||||||
|
@ -1327,7 +1327,7 @@ void MarlinSettings::postprocess() {
|
||||||
|
|
||||||
#if HAS_TRINAMIC
|
#if HAS_TRINAMIC
|
||||||
#define TMC_SET_PWMTHRS(P,Q) tmc_set_pwmthrs(stepper##Q, TMC_##Q, tmc_hybrid_threshold[TMC_##Q], planner.axis_steps_per_mm[P##_AXIS])
|
#define TMC_SET_PWMTHRS(P,Q) tmc_set_pwmthrs(stepper##Q, TMC_##Q, tmc_hybrid_threshold[TMC_##Q], planner.axis_steps_per_mm[P##_AXIS])
|
||||||
uint16_t tmc_hybrid_threshold[TMC_AXES];
|
uint32_t tmc_hybrid_threshold[TMC_AXES];
|
||||||
EEPROM_READ(tmc_hybrid_threshold);
|
EEPROM_READ(tmc_hybrid_threshold);
|
||||||
if (!validating) {
|
if (!validating) {
|
||||||
#if X_IS_TRINAMIC
|
#if X_IS_TRINAMIC
|
||||||
|
|
Loading…
Reference in a new issue