⚡️ PIO filters for M117, M300 and M414 (#21972)
This commit is contained in:
		@@ -605,7 +605,9 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
 | 
			
		||||
      case 92: M92(); break;                                      // M92: Set the steps-per-unit for one or more axes
 | 
			
		||||
      case 114: M114(); break;                                    // M114: Report current position
 | 
			
		||||
      case 115: M115(); break;                                    // M115: Report capabilities
 | 
			
		||||
      case 117: M117(); break;                                    // M117: Set LCD message text, if possible
 | 
			
		||||
 | 
			
		||||
      case 117: TERN_(HAS_STATUS_MESSAGE, M117()); break;         // M117: Set LCD message text, if possible
 | 
			
		||||
 | 
			
		||||
      case 118: M118(); break;                                    // M118: Display a message in the host console
 | 
			
		||||
      case 119: M119(); break;                                    // M119: Report endstop states
 | 
			
		||||
      case 120: M120(); break;                                    // M120: Enable endstops
 | 
			
		||||
 
 | 
			
		||||
@@ -678,7 +678,11 @@ private:
 | 
			
		||||
 | 
			
		||||
  static void M114();
 | 
			
		||||
  static void M115();
 | 
			
		||||
  static void M117();
 | 
			
		||||
 | 
			
		||||
  #if HAS_STATUS_MESSAGE
 | 
			
		||||
    static void M117();
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  static void M118();
 | 
			
		||||
  static void M119();
 | 
			
		||||
  static void M120();
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,10 @@
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "../../inc/MarlinConfig.h"
 | 
			
		||||
 | 
			
		||||
#if HAS_STATUS_MESSAGE
 | 
			
		||||
 | 
			
		||||
#include "../gcode.h"
 | 
			
		||||
#include "../../lcd/marlinui.h"
 | 
			
		||||
 | 
			
		||||
@@ -34,3 +38,5 @@ void GcodeSuite::M117() {
 | 
			
		||||
    ui.reset_status();
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // HAS_STATUS_MESSAGE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user