mmu_idler_sensor_detected -> ir_sensor_detected

This commit is contained in:
PavelSindler 2019-01-25 18:03:05 +01:00
parent 6b6a3d7d5f
commit fc1491670f
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ void mmu_load_step(bool synchronize)
//! off E-stepper to prevent over-heating and allow filament pull-out if necessary //! off E-stepper to prevent over-heating and allow filament pull-out if necessary
bool can_extrude() bool can_extrude()
{ {
if ((degHotend(active_extruder) < EXTRUDE_MINTEMP) || !mmu_idler_sensor_detected) if ((degHotend(active_extruder) < EXTRUDE_MINTEMP) || !ir_sensor_detected)
{ {
disable_e0(); disable_e0();
delay_keep_alive(100); delay_keep_alive(100);