From 03d5709b09e25dba9001c34add71d7b067d9e0d9 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Tue, 26 May 2015 20:31:18 -0700
Subject: [PATCH] M110 is a known command
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- The command parser now displays “unknown command” in more cases.
Known commands must be added to the `switch` inside `process_commands`
to suppress the error.
---
 Marlin/Marlin_main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp
index 2a8d954bc6..4fa3e65841 100644
--- a/Marlin/Marlin_main.cpp
+++ b/Marlin/Marlin_main.cpp
@@ -5392,6 +5392,8 @@ void process_next_command() {
         gcode_M109();
         break;
 
+      case 110: break; // M110: Set line number - don't show "unknown command"
+
       #if HAS_TEMP_BED
         case 190: // M190: Wait for bed heater to reach target
           gcode_M190();
-- 
GitLab