From 5edec5b3a34d783cc80ebd09ab7ead3565d70774 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 17 Mar 2025 18:06:18 -0500 Subject: [PATCH] tweak --- Marlin/src/gcode/host/M876.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/gcode/host/M876.cpp b/Marlin/src/gcode/host/M876.cpp index 691a379434..2e9157620a 100644 --- a/Marlin/src/gcode/host/M876.cpp +++ b/Marlin/src/gcode/host/M876.cpp @@ -35,8 +35,9 @@ * M876: Handle Prompt Response */ void GcodeSuite::M876() { - if(TERN1(EMERGENCY_PARSER, emergency_parser.isEnabled())) - if (parser.seenval('S')) hostui.handle_response((uint8_t)parser.value_int()); + + if (TERN1(EMERGENCY_PARSER, emergency_parser.isEnabled()) && parser.seenval('S')) + hostui.handle_response((uint8_t)parser.value_int()); }