Various fixes for MarlinUI and ExtUI (#12439)
This commit is contained in:
committed by
Scott Lahteine
parent
d3605cfc26
commit
c1e17037e5
@ -164,7 +164,7 @@ int8_t g26_prime_flag;
|
||||
*/
|
||||
bool user_canceled() {
|
||||
if (!ui.button_pressed()) return false; // Return if the button isn't pressed
|
||||
ui.setstatusPGM(PSTR("Mesh Validation Stopped."), 99);
|
||||
ui.set_status_P(PSTR("Mesh Validation Stopped."), 99);
|
||||
#if HAS_LCD_MENU
|
||||
ui.quick_feedback();
|
||||
#endif
|
||||
@ -414,7 +414,7 @@ inline bool turn_on_heaters() {
|
||||
|
||||
if (g26_bed_temp > 25) {
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
ui.setstatusPGM(PSTR("G26 Heating Bed."), 99);
|
||||
ui.set_status_P(PSTR("G26 Heating Bed."), 99);
|
||||
ui.quick_feedback();
|
||||
#if HAS_LCD_MENU
|
||||
ui.capture();
|
||||
@ -435,7 +435,7 @@ inline bool turn_on_heaters() {
|
||||
|
||||
// Start heating the active nozzle
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
ui.setstatusPGM(PSTR("G26 Heating Nozzle."), 99);
|
||||
ui.set_status_P(PSTR("G26 Heating Nozzle."), 99);
|
||||
ui.quick_feedback();
|
||||
#endif
|
||||
thermalManager.setTargetHotend(g26_hotend_temp, active_extruder);
|
||||
@ -469,7 +469,7 @@ inline bool prime_nozzle() {
|
||||
if (g26_prime_flag == -1) { // The user wants to control how much filament gets purged
|
||||
|
||||
ui.capture();
|
||||
ui.setstatusPGM(PSTR("User-Controlled Prime"), 99);
|
||||
ui.set_status_P(PSTR("User-Controlled Prime"), 99);
|
||||
ui.chirp();
|
||||
|
||||
set_destination_from_current();
|
||||
@ -493,7 +493,7 @@ inline bool prime_nozzle() {
|
||||
|
||||
ui.wait_for_release();
|
||||
|
||||
ui.setstatusPGM(PSTR("Done Priming"), 99);
|
||||
ui.set_status_P(PSTR("Done Priming"), 99);
|
||||
ui.quick_feedback();
|
||||
ui.release();
|
||||
}
|
||||
@ -501,7 +501,7 @@ inline bool prime_nozzle() {
|
||||
#endif
|
||||
{
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
ui.setstatusPGM(PSTR("Fixed Length Prime."), 99);
|
||||
ui.set_status_P(PSTR("Fixed Length Prime."), 99);
|
||||
ui.quick_feedback();
|
||||
#endif
|
||||
set_destination_from_current();
|
||||
@ -894,7 +894,7 @@ void GcodeSuite::G26() {
|
||||
} while (--g26_repeats && location.x_index >= 0 && location.y_index >= 0);
|
||||
|
||||
LEAVE:
|
||||
ui.setstatusPGM(PSTR("Leaving G26"), -1);
|
||||
ui.set_status_P(PSTR("Leaving G26"), -1);
|
||||
|
||||
retract_filament(destination);
|
||||
destination[Z_AXIS] = Z_CLEARANCE_BETWEEN_PROBES;
|
||||
|
Reference in New Issue
Block a user