Reset shutdown timer on M85 (#16587)
This commit is contained in:
parent
3b34fbd4c4
commit
0547d9d651
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue