Tweak eeprom storage type
This commit is contained in:
1 parent
d6a4c3079d
commit
54a12ee1d6
1 file changed
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user