From: Jim Morris Date: Wed, 11 Apr 2018 14:00:29 +0000 (+0100) Subject: fix control X from serial uart X-Git-Url: https://git.hcoop.net/clinton/Smoothieware.git/commitdiff_plain/90f7de57545d0d4afe32c05867052900dec68f8d fix control X from serial uart --- diff --git a/src/modules/communication/SerialConsole.cpp b/src/modules/communication/SerialConsole.cpp index a9e1c7d7..d8737c67 100644 --- a/src/modules/communication/SerialConsole.cpp +++ b/src/modules/communication/SerialConsole.cpp @@ -67,6 +67,11 @@ void SerialConsole::on_idle(void * argument) if(halt_flag) { halt_flag= false; THEKERNEL->call_event(ON_HALT, nullptr); + if(THEKERNEL->is_grbl_mode()) { + puts("ALARM: Abort during cycle\r\n"); + } else { + puts("HALTED, M999 or $X to exit HALT state\r\n"); + } } }