Commit 5f2465b6 authored by MagoKimbra's avatar MagoKimbra

Fix M92

parent 5fddb592
...@@ -4365,7 +4365,7 @@ inline void gcode_M85() { ...@@ -4365,7 +4365,7 @@ inline void gcode_M85() {
inline void gcode_M92() { inline void gcode_M92() {
if (setTargetedHotend(92)) return; if (setTargetedHotend(92)) return;
for(int8_t i = 0; i <= NUM_AXIS; i++) { for(int8_t i = 0; i < NUM_AXIS; i++) {
if (code_seen(axis_codes[i])) { if (code_seen(axis_codes[i])) {
if (i == E_AXIS) if (i == E_AXIS)
axis_steps_per_unit[i + target_extruder] = code_value(); axis_steps_per_unit[i + target_extruder] = code_value();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment