1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-22 18:25:18 +00:00

Tweak eeprom storage type

This commit is contained in:
Scott Lahteine 2020-03-25 17:20:23 -05:00
parent d6a4c3079d
commit 54a12ee1d6

View File

@ -1231,7 +1231,7 @@ void MarlinSettings::postprocess() {
#if HAS_MOTOR_CURRENT_PWM
EEPROM_WRITE(stepper.motor_current_setting);
#else
const xyz_ulong_t no_current{0};
const uint32_t no_current[3] = { 0 };
EEPROM_WRITE(no_current);
#endif
}