Patch issue in gcode_M900

Noted in #6550
This commit is contained in:
Scott Lahteine 2017-05-03 15:26:00 -05:00 committed by GitHub
parent 628391304f
commit 67ecf06cc4

View file

@ -8970,7 +8970,7 @@ inline void gcode_M503() {
SERIAL_ECHOPAIR("Advance K=", planner.extruder_advance_k); SERIAL_ECHOPAIR("Advance K=", planner.extruder_advance_k);
SERIAL_ECHOPGM(" E/D="); SERIAL_ECHOPGM(" E/D=");
const float ratio = planner.advance_ed_ratio; const float ratio = planner.advance_ed_ratio;
ratio ? SERIAL_ECHO(ratio) : SERIAL_ECHOPGM("Auto"); if (ratio) SERIAL_ECHO(ratio); else SERIAL_ECHOPGM("Auto");
SERIAL_EOL; SERIAL_EOL;
} }
#endif // LIN_ADVANCE #endif // LIN_ADVANCE