Fix M915 compiling

This commit is contained in:
teemuatlut 2018-03-04 11:26:30 +02:00
parent 5ad60d89a8
commit 36a94ac586

View File

@ -2889,6 +2889,7 @@ static void clean_up_after_endstop_or_probe_move() {
#endif
break;
#endif
default: break;
}
}
@ -10684,11 +10685,11 @@ inline void gcode_M502() {
}
#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);
#endif
#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);
#endif