Fix build error when TMC2130_SERVICE_CODES_M910_M918 is enabled

(cherry picked from commit 6ed4b79cc6685f31b6914881008e036424dab2eb)
This commit is contained in:
Guðni Már Gilbert 2021-10-05 22:28:26 +00:00
parent bb9ba95bfc
commit 13732f162b

View File

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