From d178d6e92112696491c464bdb2a3816ce09e3efe Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Mon, 15 Jan 2018 06:09:25 -0600
Subject: [PATCH] M503 patch for EEPROM_CHITCHAT off

Fix #9155
---
 Marlin/src/gcode/eeprom/M500-M504.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/src/gcode/eeprom/M500-M504.cpp b/Marlin/src/gcode/eeprom/M500-M504.cpp
index c67f860a00..2f78526960 100644
--- a/Marlin/src/gcode/eeprom/M500-M504.cpp
+++ b/Marlin/src/gcode/eeprom/M500-M504.cpp
@@ -68,7 +68,7 @@ void GcodeSuite::M502() {
    */
   void GcodeSuite::M503() {
     (void)settings.report(parser.seen('S') && !parser.value_bool()
-      #if NUM_SERIAL > 1
+      #if ADD_PORT_ARG
         , command_queue_port[cmd_queue_index_r]
       #endif
     );
-- 
GitLab