Serial redirect for Move Command when stopping (#16906)

This commit is contained in:
Robby Candra 2020-02-20 15:22:08 +07:00 committed by GitHub
parent 178735b958
commit 1c52d76668
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -469,6 +469,7 @@ void GCodeQueue::get_serial_commands() {
#if ENABLED(BEZIER_CURVE_SUPPORT) #if ENABLED(BEZIER_CURVE_SUPPORT)
case 5: case 5:
#endif #endif
PORT_REDIRECT(i); // Reply to the serial port that sent the command
SERIAL_ECHOLNPGM(MSG_ERR_STOPPED); SERIAL_ECHOLNPGM(MSG_ERR_STOPPED);
LCD_MESSAGEPGM(MSG_STOPPED); LCD_MESSAGEPGM(MSG_STOPPED);
break; break;