diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-08-27 16:38:30 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-08-30 14:19:31 +0300 |
commit | 20f3d6cd93a4dbf22414a317f27f7463b69805cd (patch) | |
tree | 4aa6958c8bc63fb5c87139b9dd2bf1d8cf7e0041 /src/Platform/Platform.cpp | |
parent | 91f12bf69e37613d456943ec537162a212c48c1d (diff) |
Support M917 on MB6XD
Diffstat (limited to 'src/Platform/Platform.cpp')
-rw-r--r-- | src/Platform/Platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp index 966906b5..e0331947 100644 --- a/src/Platform/Platform.cpp +++ b/src/Platform/Platform.cpp @@ -2666,7 +2666,7 @@ GCodeResult Platform::SetMotorCurrent(size_t axisOrExtruder, float currentOrPerc motorCurrentFraction[axisOrExtruder] = constrain<float>(0.01 * currentOrPercent, 0.0, 1.0); break; -#if HAS_SMART_DRIVERS +#if HAS_SMART_DRIVERS || SUPPORT_CAN_EXPANSION case 917: standstillCurrentPercent[axisOrExtruder] = constrain<float>(currentOrPercent, 0.0, 100.0); break; |