diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 7fede1bba1..ab84d5be69 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -4271,7 +4271,10 @@ inline void gcode_M77() { * M78: Show print statistics */ inline void gcode_M78() { - print_job_timer.showStats(); + // "M78 S78" will reset the statistics + if (code_seen('S') && code_value_short() == 78) + print_job_timer.initStats(); + else print_job_timer.showStats(); } #endif