Skip to content
Snippets Groups Projects
Commit 0547d9d6 authored by ellensp's avatar ellensp Committed by Scott Lahteine
Browse files

Reset shutdown timer on M85 (#16587)

parent 3b34fbd4
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
*/ */
void GcodeSuite::M85() { 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();
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment