Remove duplicate condition. This condition was already in if(mmu_enabled) {} else branch.

This commit is contained in:
Marek Bel 2018-09-25 14:25:03 +02:00
parent 0e7afc67ca
commit 19c1ba6274

View file

@ -3235,8 +3235,6 @@ void gcode_M701()
custom_message_type = CUSTOM_MSG_TYPE_STATUS; custom_message_type = CUSTOM_MSG_TYPE_STATUS;
#ifdef FILAMENT_SENSOR #ifdef FILAMENT_SENSOR
if (mmu_enabled == false)
{
fsensor_oq_meassure_stop(); fsensor_oq_meassure_stop();
if (!fsensor_oq_result()) if (!fsensor_oq_result())
@ -3247,7 +3245,6 @@ void gcode_M701()
if (disable) if (disable)
fsensor_disable(); fsensor_disable();
} }
}
#endif //FILAMENT_SENSOR #endif //FILAMENT_SENSOR
} }
} }