From 25a22120fb202d05de292851541ba0c26760a7b4 Mon Sep 17 00:00:00 2001 From: MRprusa3d Date: Thu, 30 Aug 2018 03:32:33 +0200 Subject: [PATCH] 1-st Layer Calibration correction filament loading improvement --- Firmware/Marlin_main.cpp | 5 +---- Firmware/ultralcd.cpp | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 413dec65..cb218019 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -3192,10 +3192,7 @@ void gcode_M701() custom_message_type = CUSTOM_MSG_TYPE_F_LOAD; #ifdef FILAMENT_SENSOR - if (mmu_enabled == false) - { - fsensor_oq_meassure_start(40); - } + fsensor_oq_meassure_start(40); #endif //FILAMENT_SENSOR lcd_setstatuspgm(_T(MSG_LOADING_FILAMENT)); diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 69bf7212..5a5f69ee 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -4404,6 +4404,7 @@ void lcd_wizard(int state) { break; case 5: //is filament loaded? //start to preheat nozzle and bed to save some time later + lcd_commands_type = LCD_COMMAND_V2_CAL; setTargetHotend(PLA_PREHEAT_HOTEND_TEMP, 0); setTargetBed(PLA_PREHEAT_HPB_TEMP); wizard_event = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Is filament loaded?"), false);////MSG_WIZARD_FILAMENT_LOADED c=20 r=2 @@ -4441,6 +4442,7 @@ void lcd_wizard(int state) { #ifdef SNMM change_extr(0); #endif + loading_flag = true; gcode_M701(); state = 9; break;