Merge pull request #2018 from fmalpartida/bugFixing

Bug corrected: persistent HOMING message when HOME button pressed for homing.
This commit is contained in:
Scott Lahteine 2015-05-05 00:12:32 -07:00
commit 777f2d3820

View file

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