Browse Source

Misc. comments

pull/1/head
Scott Lahteine 7 years ago
parent
commit
2ea4e74ed3
  1. 9
      Marlin/src/gcode/bedlevel/G26.cpp
  2. 5
      Marlin/src/lcd/ultralcd.cpp

9
Marlin/src/gcode/bedlevel/G26.cpp

@ -437,9 +437,8 @@ inline bool turn_on_heaters() {
SERIAL_EOL();
}
idle();
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
// over run the serial character buffer with M105's without
// this fix
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace may
// overwhelm the serial buffer with M105's without this fix.
}
#if ENABLED(ULTRA_LCD)
}
@ -513,8 +512,8 @@ inline bool prime_nozzle() {
wait_for_release();
strcpy_P(lcd_status_message, PSTR("Done Priming")); // We can't do lcd_setstatusPGM() without having it continue;
// So... We cheat to get a message up.
strcpy_P(lcd_status_message, PSTR("Done Priming")); // Hack to get the message up. May be obsolete.
lcd_setstatusPGM(PSTR("Done Priming"), 99);
lcd_quick_feedback(true);
lcd_external_control = false;

5
Marlin/src/lcd/ultralcd.cpp

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

Loading…
Cancel
Save