Przeglądaj źródła

1-st Layer Calibration correction

filament loading improvement
MRprusa3d 6 lat temu
rodzic
commit
25a22120fb
2 zmienionych plików z 3 dodań i 4 usunięć
  1. 1 4
      Firmware/Marlin_main.cpp
  2. 2 0
      Firmware/ultralcd.cpp

+ 1 - 4
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));

+ 2 - 0
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;