HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
169d40c
)
fix control X from serial uart
author
Jim Morris
<morris@wolfman.com>
Wed, 11 Apr 2018 14:00:29 +0000
(15:00 +0100)
committer
Jim Morris
<morris@wolfman.com>
Wed, 11 Apr 2018 14:00:29 +0000
(15:00 +0100)
src/modules/communication/SerialConsole.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/communication/SerialConsole.cpp
b/src/modules/communication/SerialConsole.cpp
index
a9e1c7d
..
d8737c6
100644
(file)
--- 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");
+ }
}
}