Move endstop debug to Endstops

This commit is contained in:
Scott Lahteine committed 2017-09-21 16:27:11 -05:00
1 parent a10451ceed
commit 2e20c53c9d
7 files changed
+125 -115

No files matched your search

+2 -2
View File
@@ -245,9 +245,9 @@ void GcodeSuite::M43() {
// Enable or disable endstop monitoring
if (parser.seen('E')) {
endstop_monitor_flag = parser.value_bool();
endstops.monitor_flag = parser.value_bool();
SERIAL_PROTOCOLPGM("endstop monitor ");
serialprintPGM(endstop_monitor_flag ? PSTR("en") : PSTR("dis"));
serialprintPGM(endstops.monitor_flag ? PSTR("en") : PSTR("dis"));
SERIAL_PROTOCOLLNPGM("abled");
return;
}