HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a97d38c
)
Merge pull request #781 from wolfmanjm/upstreamedge
author
Jim Morris
<morris@wolfman.com>
Sun, 29 Nov 2015 02:41:03 +0000
(18:41 -0800)
committer
Jim Morris
<morris@wolfman.com>
Sun, 29 Nov 2015 02:41:03 +0000
(18:41 -0800)
add some M code exceptions to the on halt block
src/modules/communication/GcodeDispatch.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/communication/GcodeDispatch.cpp
b/src/modules/communication/GcodeDispatch.cpp
index
fe8a1ca
..
2e5a8a5
100644
(file)
--- a/
src/modules/communication/GcodeDispatch.cpp
+++ b/
src/modules/communication/GcodeDispatch.cpp
@@
-30,7
+30,7
@@
#define panel_checksum CHECKSUM("panel")
// goes in Flash, list of Mxxx codes that are allowed when in Halted state
-static const int allowed_mcodes[]= {105,114,119
}; // get temp, get pos, get endstops
+static const int allowed_mcodes[]= {105,114,119
,80,81,911,503,106,107}; // get temp, get pos, get endstops etc
static bool is_allowed_mcode(int m) {
for (size_t i = 0; i < sizeof(allowed_mcodes)/sizeof(int); ++i) {
if(allowed_mcodes[i] == m) return true;