Add nozzle change to main menu when QUICK_NOZZLE_CHANGE is defined
Add Nozzle diameter to Info screen when printer inactive and QUICK_NOZZLE_CHANGE defined Solves #4488
This commit is contained in:
parent
8d50d29776
commit
d5a5835059
|
|
@ -495,9 +495,13 @@ void lcdui_print_time(void)
|
||||||
chars = lcd_printf_P(_N(LCD_STR_CLOCK "%02u:%02u%c%c"), print_t / 60, print_t % 60, suff, suff_doubt);
|
chars = lcd_printf_P(_N(LCD_STR_CLOCK "%02u:%02u%c%c"), print_t / 60, print_t % 60, suff, suff_doubt);
|
||||||
else //time>=100h
|
else //time>=100h
|
||||||
chars = lcd_printf_P(_N(LCD_STR_CLOCK "%3uh %c%c"), print_t / 60, suff, suff_doubt);
|
chars = lcd_printf_P(_N(LCD_STR_CLOCK "%3uh %c%c"), print_t / 60, suff, suff_doubt);
|
||||||
}
|
} else {
|
||||||
else
|
#ifdef QUICK_NOZZLE_CHANGE
|
||||||
|
chars = lcd_printf_P(PSTR("Nd. %4.2f"),(float)eeprom_read_word((uint16_t*)EEPROM_NOZZLE_DIAMETER_uM)/1000.0);
|
||||||
|
#else
|
||||||
chars = lcd_printf_P(_N(LCD_STR_CLOCK "--:-- "));
|
chars = lcd_printf_P(_N(LCD_STR_CLOCK "--:-- "));
|
||||||
|
#endif //QUICK_NOZZLE_CHANGE
|
||||||
|
}
|
||||||
lcd_space(8 - chars);
|
lcd_space(8 - chars);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -619,9 +623,20 @@ void lcdui_print_status_line(void) {
|
||||||
//!
|
//!
|
||||||
//! @code{.unparsed}
|
//! @code{.unparsed}
|
||||||
//! |01234567890123456789|
|
//! |01234567890123456789|
|
||||||
//! |N 000/000D Z000.0 |
|
//! |N000/000D Z000.00 |
|
||||||
//! |B 000/000D F100% |
|
//! |B000/000D F100% |
|
||||||
//! |USB100% T0 t--:-- |
|
//! | ---% t--:-- | // Idle
|
||||||
|
//!
|
||||||
|
//! | ---% F? t--:-- | // Idle + MMU3
|
||||||
|
//!
|
||||||
|
//! |Smooth1 t--:-- | // Idle + Muliple sheets
|
||||||
|
//!
|
||||||
|
//! |Smooth1 F? t--:-- | // Idle + Muliple sheets + MMU3
|
||||||
|
//!
|
||||||
|
//! |Smooth1 Nd. 0.40| // Idle + Muliple sheets + QUICK_NOZZLE_CHANGE
|
||||||
|
//!
|
||||||
|
//! | SD 99% F1 t00:17R | // SD print + MMU3
|
||||||
|
//!
|
||||||
//! |Status line.........|
|
//! |Status line.........|
|
||||||
//! ----------------------
|
//! ----------------------
|
||||||
//! N - nozzle temp symbol LCD_STR_THERMOMETER
|
//! N - nozzle temp symbol LCD_STR_THERMOMETER
|
||||||
|
|
@ -5166,7 +5181,12 @@ static void lcd_shutdown_menu()
|
||||||
//! | Preheat | not printing + not paused
|
//! | Preheat | not printing + not paused
|
||||||
//! | Print from SD | not printing or paused
|
//! | Print from SD | not printing or paused
|
||||||
//!
|
//!
|
||||||
//! | Switch sheet | farm mode
|
//! | Switch sheet | NOT farm mode
|
||||||
|
//! AND multiple sheets calibrated AND not active
|
||||||
|
//!
|
||||||
|
//! | Nozzle diameter | NOT farm mode
|
||||||
|
//! AND multiple sheets calibrated AND not active
|
||||||
|
//! AND QUICK_NOZZLE_CHANGE defined
|
||||||
//!
|
//!
|
||||||
//! | AutoLoad filament | not printing + not mmu or paused
|
//! | AutoLoad filament | not printing + not mmu or paused
|
||||||
//! | Load filament | not printing + mmu or paused
|
//! | Load filament | not printing + mmu or paused
|
||||||
|
|
@ -5296,6 +5316,10 @@ static void lcd_main_menu()
|
||||||
if ((nextSheet >= 0) && (sheet != nextSheet)) { // show menu only if we have 2 or more sheets initialized
|
if ((nextSheet >= 0) && (sheet != nextSheet)) { // show menu only if we have 2 or more sheets initialized
|
||||||
MENU_ITEM_FUNCTION_E(EEPROM_Sheets_base->s[sheet], eeprom_switch_to_next_sheet);
|
MENU_ITEM_FUNCTION_E(EEPROM_Sheets_base->s[sheet], eeprom_switch_to_next_sheet);
|
||||||
}
|
}
|
||||||
|
#ifdef QUICK_NOZZLE_CHANGE
|
||||||
|
SETTINGS_NOZZLE;
|
||||||
|
#endif //QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! ( printer_active() || (eFilamentAction != FilamentAction::None) || Stopped ) ) {
|
if ( ! ( printer_active() || (eFilamentAction != FilamentAction::None) || Stopped ) ) {
|
||||||
|
|
|
||||||
|
|
@ -200,6 +200,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -200,6 +200,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -335,6 +335,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -337,6 +337,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -336,6 +336,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -337,6 +337,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -339,6 +339,9 @@
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,9 @@ EXTRUDER SETTINGS
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,9 @@ EXTRUDER SETTINGS
|
||||||
// Extrude mintemp
|
// Extrude mintemp
|
||||||
#define EXTRUDE_MINTEMP 175
|
#define EXTRUDE_MINTEMP 175
|
||||||
|
|
||||||
|
// Quick nozzle change supported
|
||||||
|
//#define QUICK_NOZZLE_CHANGE
|
||||||
|
|
||||||
// Extruder cooling fans
|
// Extruder cooling fans
|
||||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue