Further #8 fix, wasn't checking sensor when M600 active, tested working now.
This commit is contained in:
parent
c8f5809e1e
commit
3a89cce04f
File diff suppressed because it is too large
Load Diff
|
|
@ -2954,6 +2954,7 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float
|
||||||
{
|
{
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
float lastpos[4];
|
float lastpos[4];
|
||||||
|
mmuFSensorLoading = false;
|
||||||
|
|
||||||
if (farm_mode)
|
if (farm_mode)
|
||||||
{
|
{
|
||||||
|
|
@ -6896,7 +6897,7 @@ Sigma_Exit:
|
||||||
mmu_command(MMU_CMD_T0 + tmp_extruder);
|
mmu_command(MMU_CMD_T0 + tmp_extruder);
|
||||||
|
|
||||||
manage_response(true, true);
|
manage_response(true, true);
|
||||||
delay(12);
|
delay(8);
|
||||||
mmu_command(MMU_CMD_C0);
|
mmu_command(MMU_CMD_C0);
|
||||||
mmu_extruder = tmp_extruder; //filament change is finished
|
mmu_extruder = tmp_extruder; //filament change is finished
|
||||||
|
|
||||||
|
|
@ -7453,11 +7454,8 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (mcode_in_progress != 600) //M600 not in progress
|
if ((lcd_commands_type != LCD_COMMAND_V2_CAL) && !wizard_active && mmuFSensorLoading) {
|
||||||
{
|
fsensor_check_autoload();
|
||||||
if ((lcd_commands_type != LCD_COMMAND_V2_CAL) && !wizard_active && mmuFSensorLoading) {
|
|
||||||
fsensor_check_autoload();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif //FILAMENT_SENSOR
|
#endif //FILAMENT_SENSOR
|
||||||
|
|
|
||||||
|
|
@ -729,7 +729,7 @@ void mmu_M600_load_filament(bool automatic)
|
||||||
mmu_command(MMU_CMD_T0 + tmp_extruder);
|
mmu_command(MMU_CMD_T0 + tmp_extruder);
|
||||||
|
|
||||||
manage_response(false, true);
|
manage_response(false, true);
|
||||||
delay(12);
|
delay(8);
|
||||||
mmu_command(MMU_CMD_C0);
|
mmu_command(MMU_CMD_C0);
|
||||||
mmu_extruder = tmp_extruder; //filament change is finished
|
mmu_extruder = tmp_extruder; //filament change is finished
|
||||||
delay(100);
|
delay(100);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue