From 231a6dcf1bb839fca1d7d0096ed7edbb3d4f4ec6 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 19 Jul 2018 20:27:39 +0200 Subject: [PATCH] M600 for single material fix --- Firmware/Marlin.h | 2 +- Firmware/Marlin_main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Firmware/Marlin.h b/Firmware/Marlin.h index 69f13cc7..5cdf39ea 100644 --- a/Firmware/Marlin.h +++ b/Firmware/Marlin.h @@ -469,6 +469,6 @@ void proc_commands(); bool mmu_get_reponse(); void mmu_not_responding(); void mmu_load_to_nozzle(); -void M600_load_filament(); +void M600_load_filament(bool fsensor_enabled); void mmu_M600_load_filament(); void M600_load_filament_movements(); \ No newline at end of file diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 1f5a6cc5..6e8877f7 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -9094,6 +9094,7 @@ void mmu_switch_extruder(uint8_t extruder) { } void mmu_M600_load_filament() { +#ifdef SNMM_V2 bool response = false; tmp_extruder = choose_extruder_menu(); lcd_update_enable(false); @@ -9133,6 +9134,7 @@ void mmu_M600_load_filament() { snmm_extruder = tmp_extruder; //filament change is finished mmu_load_to_nozzle(); +#endif } void M600_load_filament_movements() {