diff --git a/Marlin/src/gcode/gcode.cpp b/Marlin/src/gcode/gcode.cpp index f71b5ab3c7..7e1a7f80cf 100644 --- a/Marlin/src/gcode/gcode.cpp +++ b/Marlin/src/gcode/gcode.cpp @@ -633,8 +633,8 @@ void GcodeSuite::process_parsed_command( #endif case 906: M906(); break; // M906: Set motor current in milliamps using axis codes X, Y, Z, E #if ENABLED(MONITOR_DRIVER_STATUS) - case 911: M911(); break; // M911: Report TMC2130 prewarn triggered flags - case 912: M912(); break; // M912: Clear TMC2130 prewarn triggered flags + case 911: M911(); break; // M911: Report TMC2130 prewarn triggered flags + case 912: M912(); break; // M912: Clear TMC2130 prewarn triggered flags #endif #if ENABLED(HYBRID_THRESHOLD) case 913: M913(); break; // M913: Set HYBRID_THRESHOLD speed. diff --git a/Marlin/src/gcode/gcode.h b/Marlin/src/gcode/gcode.h index 4298365e1f..7340e3b9bf 100644 --- a/Marlin/src/gcode/gcode.h +++ b/Marlin/src/gcode/gcode.h @@ -776,8 +776,8 @@ private: #endif static void M906(); #if ENABLED(MONITOR_DRIVER_STATUS) - static void M911(); - static void M912(); + static void M911(); + static void M912(); #endif #if ENABLED(HYBRID_THRESHOLD) static void M913();