Tweak eeprom storage type
This commit is contained in:
parent
d6a4c3079d
commit
54a12ee1d6
|
@ -1231,7 +1231,7 @@ void MarlinSettings::postprocess() {
|
||||||
#if HAS_MOTOR_CURRENT_PWM
|
#if HAS_MOTOR_CURRENT_PWM
|
||||||
EEPROM_WRITE(stepper.motor_current_setting);
|
EEPROM_WRITE(stepper.motor_current_setting);
|
||||||
#else
|
#else
|
||||||
const xyz_ulong_t no_current{0};
|
const uint32_t no_current[3] = { 0 };
|
||||||
EEPROM_WRITE(no_current);
|
EEPROM_WRITE(no_current);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue