Fix M915 compiling
This commit is contained in:
parent
5ad60d89a8
commit
36a94ac586
@ -2889,6 +2889,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10684,11 +10685,11 @@ inline void gcode_M502() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if Z_IS_TRINAMIC
|
#if Z_IS_TRINAMIC
|
||||||
uint16_t Z_current_1 = stepperZ.getCurrent(),
|
uint16_t Z_current_1 = stepperZ.getCurrent();
|
||||||
stepperZ.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
stepperZ.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
||||||
#endif
|
#endif
|
||||||
#if Z2_IS_TRINAMIC
|
#if Z2_IS_TRINAMIC
|
||||||
uint16_t Z2_current_1 = stepperZ.getCurrent();
|
uint16_t Z2_current_1 = stepperZ2.getCurrent();
|
||||||
stepperZ2.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
stepperZ2.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user