Merge pull request #2018 from fmalpartida/bugFixing

Bug corrected: persistent HOMING message when HOME button pressed for homing.
master
Scott Lahteine 10 years ago
commit 777f2d3820

@ -6095,7 +6095,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
if (!READ(HOME_PIN)) { if (!READ(HOME_PIN)) {
if (!homeDebounceCount) { if (!homeDebounceCount) {
enqueuecommands_P(PSTR("G28")); enqueuecommands_P(PSTR("G28"));
LCD_ALERTMESSAGEPGM(MSG_AUTO_HOME); LCD_MESSAGEPGM(MSG_AUTO_HOME);
} }
if (homeDebounceCount < HOME_DEBOUNCE_DELAY) if (homeDebounceCount < HOME_DEBOUNCE_DELAY)
homeDebounceCount++; homeDebounceCount++;

Loading…
Cancel
Save