Skip to content

Commit

Permalink
Tweak eeprom storage type
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 26, 2020
1 parent d6a4c30 commit 54a12ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/configuration_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 54a12ee

Please sign in to comment.