Upstream merging, testing in progress.

This commit is contained in:
Rob McKenzie 2018-11-14 16:42:30 +10:00
parent ec8844d744
commit 0ff1f3c71c
3 changed files with 14223 additions and 1 deletions

File diff suppressed because it is too large Load Diff

7
Firmware/Marlin_main.cpp Executable file → Normal file
View File

@ -2925,6 +2925,7 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float
{
st_synchronize();
float lastpos[4];
mmuFSensorLoading = false;
if (farm_mode)
{
@ -7438,7 +7439,11 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
fsensor_update();
}
}
}
} else {
if ((lcd_commands_type != LCD_COMMAND_V2_CAL) && !wizard_active && mmuFSensorLoading) {
fsensor_check_autoload();
}
}
#endif //FILAMENT_SENSOR
#ifdef SAFETYTIMER

View File

@ -4,6 +4,7 @@
extern bool mmu_enabled;
extern bool mmuFSensorLoading;
extern int8_t mmu_state;
extern uint8_t mmu_extruder;