Hide "Change Filament E2" on single extruder (T1535)

- Fix for allowing all toolheads to compile
- Removed unnecessary state variable on single toolheads.
master
Marcio Teixeira 7 years ago
parent bea6a390c9
commit 7f8b0ed87b

@ -13,7 +13,7 @@
* got disabled.
*/
#define LULZBOT_FW_VERSION ".61" // Change this with each update
#define LULZBOT_FW_VERSION ".62" // Change this with each update
#if ( \
!defined(LULZBOT_Gladiola_Mini) && \

@ -949,7 +949,7 @@ void kill_screen(const char* lcd_msg) {
MENU_ITEM(function, MSG_FILAMENTCHANGE " E2", lcd_enqueue_filament_change_e1);
#else
if (!thermalManager.tooColdToExtrude(active_extruder))
MENU_ITEM(function, MSG_FILAMENTCHANGE, lcd_enqueue_filament_change_e0);
MENU_ITEM(function, MSG_FILAMENTCHANGE, lcd_enqueue_filament_change);
#endif
#endif
@ -1271,6 +1271,9 @@ void kill_screen(const char* lcd_msg) {
#if ENABLED(ADVANCED_PAUSE_FEATURE)
void lcd_enqueue_filament_change() {
#if !defined(LULZBOT_CHANGE_FILAMENT_DUAL_EXTRUDER_SUPPORT)
if (axis_unhomed_error()) {lcd_return_to_status(); return;}
#endif
#if ENABLED(PREVENT_COLD_EXTRUSION)
if (!DEBUGGING(DRYRUN) && !thermalManager.allow_cold_extrude &&

Loading…
Cancel
Save