Browse Source

Reset shutdown timer on M85 (#16587)

pull/1/head
ellensp 5 years ago
committed by Scott Lahteine
parent
commit
0547d9d651
  1. 5
      Marlin/src/gcode/control/M85.cpp

5
Marlin/src/gcode/control/M85.cpp

@ -28,6 +28,9 @@
*/
void GcodeSuite::M85() {
if (parser.seen('S')) max_inactive_time = parser.value_millis_from_seconds();
if (parser.seen('S')) {
reset_stepper_timeout();
max_inactive_time = parser.value_millis_from_seconds();
}
}

Loading…
Cancel
Save