Revert EEPROM tweak

This commit is contained in:
Scott Lahteine 2020-04-27 05:06:55 -05:00
parent 8f86f7c601
commit e1ad955897

View file

@ -3224,33 +3224,29 @@ void MarlinSettings::reset() {
#if AXIS_IS_TMC(X) || AXIS_IS_TMC(Y) || AXIS_IS_TMC(Z) #if AXIS_IS_TMC(X) || AXIS_IS_TMC(Y) || AXIS_IS_TMC(Z)
say_M906(forReplay); say_M906(forReplay);
SERIAL_ECHOLNPAIR_P(
#if AXIS_IS_TMC(X) #if AXIS_IS_TMC(X)
SP_X_STR, stepperX.getMilliamps(), SERIAL_ECHOPAIR_P(SP_X_STR, stepperX.getMilliamps());
#endif #endif
#if AXIS_IS_TMC(Y) #if AXIS_IS_TMC(Y)
SP_Y_STR, stepperY.getMilliamps(), SERIAL_ECHOPAIR_P(SP_Y_STR, stepperY.getMilliamps());
#endif #endif
#if AXIS_IS_TMC(Z) #if AXIS_IS_TMC(Z)
SP_Z_STR, stepperZ.getMilliamps() SERIAL_ECHOPAIR_P(SP_Z_STR, stepperZ.getMilliamps());
#endif #endif
);
#endif #endif
#if AXIS_IS_TMC(X2) || AXIS_IS_TMC(Y2) || AXIS_IS_TMC(Z2) #if AXIS_IS_TMC(X2) || AXIS_IS_TMC(Y2) || AXIS_IS_TMC(Z2)
say_M906(forReplay); say_M906(forReplay);
SERIAL_ECHOPGM(" I1"); SERIAL_ECHOPGM(" I1");
SERIAL_ECHOLNPAIR_P(
#if AXIS_IS_TMC(X2) #if AXIS_IS_TMC(X2)
SP_X_STR, stepperX2.getMilliamps(), SERIAL_ECHOPAIR_P(SP_X_STR, stepperX2.getMilliamps());
#endif #endif
#if AXIS_IS_TMC(Y2) #if AXIS_IS_TMC(Y2)
SP_Y_STR, stepperY2.getMilliamps(), SERIAL_ECHOPAIR_P(SP_Y_STR, stepperY2.getMilliamps());
#endif #endif
#if AXIS_IS_TMC(Z2) #if AXIS_IS_TMC(Z2)
SP_Z_STR, stepperZ2.getMilliamps() SERIAL_ECHOPAIR_P(SP_Z_STR, stepperZ2.getMilliamps());
#endif #endif
);
#endif #endif
#if AXIS_IS_TMC(Z3) #if AXIS_IS_TMC(Z3)