Misc. comments

This commit is contained in:
Scott Lahteine 2018-02-04 16:52:28 -06:00
parent ad70d76faa
commit 56d5c5b97a
2 changed files with 6 additions and 8 deletions

View File

@ -274,15 +274,14 @@
// action to give the user a more responsive 'Stop'. // action to give the user a more responsive 'Stop'.
set_destination_from_current(); set_destination_from_current();
idle(); idle();
MYSERIAL.flush(); // G26 takes a long time to complete. PronterFace can MYSERIAL.flush(); // G26 takes a long time to complete. PronterFace may
// over run the serial character buffer with M105's without // overwhelm the serial buffer with M105's without this fix.
// this fix
} }
wait_for_release(); wait_for_release();
strcpy_P(lcd_status_message, PSTR("Done Priming")); // We can't do lcd_setstatusPGM() without having it continue; strcpy_P(lcd_status_message, PSTR("Done Priming")); // Hack to get the message up. May be obsolete.
// So... We cheat to get a message up.
lcd_setstatusPGM(PSTR("Done Priming"), 99); lcd_setstatusPGM(PSTR("Done Priming"), 99);
lcd_quick_feedback(true); lcd_quick_feedback(true);
lcd_external_control = false; lcd_external_control = false;

View File

@ -5398,9 +5398,8 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
} }
#if ENABLED(AUTO_BED_LEVELING_UBL) #if ENABLED(AUTO_BED_LEVELING_UBL)
if (lcd_external_control) { if (lcd_external_control) {
ubl.encoder_diff = encoderDiff; // Make the encoder's rotation available to G29's Mesh Editor ubl.encoder_diff = encoderDiff; // Make encoder rotation available to UBL G29 mesh editing.
encoderDiff = 0; // We are going to lie to the LCD Panel and claim the encoder encoderDiff = 0; // Hide the encoder event from the current screen handler.
// knob has not turned.
} }
#endif #endif
lastEncoderBits = enc; lastEncoderBits = enc;