From 0eee55c0dd25837727e53ba7dfd41eeefe2314bf Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 7 Jan 2018 20:46:55 -0600 Subject: [PATCH] Patch TMC current read from EEPROM --- Marlin/configuration_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index bb90a6cd59..0b49943a4b 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -1181,7 +1181,7 @@ void MarlinSettings::postprocess() { // TMC2130 Stepper Current // #if HAS_TRINAMIC - #define SET_CURR(N,Q) stepper##Q.setCurrent(val[N], R_SENSE, HOLD_MULTIPLIER) + #define SET_CURR(N,Q) stepper##Q.setCurrent(val[N] ? val[N] : Q##_CURRENT, R_SENSE, HOLD_MULTIPLIER) uint16_t val[11]; EEPROM_READ(val); if (!validating) {