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:
dac88f3
)
disable endstos if there is a configuration error
author
Jim Morris
<morris@wolfman.com>
Wed, 11 Apr 2018 13:23:42 +0000
(14:23 +0100)
committer
Jim Morris
<morris@wolfman.com>
Wed, 11 Apr 2018 13:23:42 +0000
(14:23 +0100)
src/modules/tools/endstops/Endstops.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/tools/endstops/Endstops.cpp
b/src/modules/tools/endstops/Endstops.cpp
index
c21ccc8
..
3a8fca1
100644
(file)
--- a/
src/modules/tools/endstops/Endstops.cpp
+++ b/
src/modules/tools/endstops/Endstops.cpp
@@
-277,7
+277,7
@@
bool Endstops::load_config()
// check we are not going above the number of defined actuators/axis
if(i >= THEROBOT->get_number_registered_motors()) {
// too many axis we only have configured n_motors
- THEKERNEL->streams->printf("ERROR: endstop %d is greater than number of defined motors\n", i);
+ THEKERNEL->streams->printf("ERROR: endstop %d is greater than number of defined motors
. Endstops disabled
\n", i);
delete pin_info;
return false;
}