This commit is contained in:
Scott Lahteine
2025-03-17 18:06:18 -05:00
parent 0bfa253b73
commit 5edec5b3a3
+3 -2
View File
@@ -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());
}