From 13732f162b00ba77880e2c21f36663567342a1b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Tue, 5 Oct 2021 22:28:26 +0000 Subject: [PATCH] Fix build error when TMC2130_SERVICE_CODES_M910_M918 is enabled (cherry picked from commit 6ed4b79cc6685f31b6914881008e036424dab2eb) --- Firmware/Marlin_main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index d1bc83a1..2d53b1cd 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8625,7 +8625,7 @@ Sigma_Exit: */ case 910: { - tmc2130_init(); + tmc2130_init(TMCInitParams(false, FarmOrUserECool())); } break; @@ -8692,7 +8692,7 @@ Sigma_Exit: { tmc2130_mode = TMC2130_MODE_NORMAL; update_mode_profile(); - tmc2130_init(); + tmc2130_init(TMCInitParams(false, FarmOrUserECool())); } break; @@ -8704,7 +8704,7 @@ Sigma_Exit: { tmc2130_mode = TMC2130_MODE_SILENT; update_mode_profile(); - tmc2130_init(); + tmc2130_init(TMCInitParams(false, FarmOrUserECool())); } break;