Browse Source

Tweak eeprom storage type

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
54a12ee1d6
  1. 2
      Marlin/src/module/configuration_store.cpp

2
Marlin/src/module/configuration_store.cpp

@ -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
}

Loading…
Cancel
Save