From 733bc874fba60b31f3094d6fe1617fcf9d6c461f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 18 Mar 2023 16:48:30 +0000 Subject: [PATCH] Move G28W0 to messages No change in memory --- Firmware/Marlin_main.cpp | 1 - Firmware/messages.cpp | 1 + Firmware/messages.h | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 61ba0f2bc..ad4f75afc 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -255,7 +255,6 @@ uint8_t host_keepalive_interval = HOST_KEEPALIVE_INTERVAL; const char errormagic[] PROGMEM = "Error:"; const char echomagic[] PROGMEM = "echo:"; -const char G28W0[] PROGMEM = "G28 W0"; // Define some coordinates outside the clamp limits (making them invalid past the parsing stage) so // that they can be used later for various logical checks diff --git a/Firmware/messages.cpp b/Firmware/messages.cpp index 66d35a09c..deeaa40f9 100644 --- a/Firmware/messages.cpp +++ b/Firmware/messages.cpp @@ -230,6 +230,7 @@ const char MSG_LCD_STATUS_CHANGED[] PROGMEM_N1 = "LCD status changed"; const char MSG_UNKNOWN_CODE[] PROGMEM_N1 = "Unknown %c code: %s\n"; // Common G-gcodes +const char G28W0[] PROGMEM_N1 = "G28 W0"; const char MSG_M23[] PROGMEM_N1 = "M23 %s"; const char MSG_M24[] PROGMEM_N1 = "M24"; const char MSG_M83[] PROGMEM_N1 = "M83"; diff --git a/Firmware/messages.h b/Firmware/messages.h index c50f9baab..906071980 100644 --- a/Firmware/messages.h +++ b/Firmware/messages.h @@ -236,6 +236,7 @@ extern const char MSG_LCD_STATUS_CHANGED[]; extern const char MSG_UNKNOWN_CODE[]; // Common G-gcodes +extern const char G28W0[]; extern const char MSG_M23[]; extern const char MSG_M24[]; extern const char MSG_M83[];