tweak
This commit is contained in:
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user