Remove duplicate condition. This condition was already in if(mmu_enabled) {} else branch.
This commit is contained in:
parent
0e7afc67ca
commit
19c1ba6274
1 changed files with 9 additions and 12 deletions
|
@ -3235,8 +3235,6 @@ void gcode_M701()
|
|||
custom_message_type = CUSTOM_MSG_TYPE_STATUS;
|
||||
|
||||
#ifdef FILAMENT_SENSOR
|
||||
if (mmu_enabled == false)
|
||||
{
|
||||
fsensor_oq_meassure_stop();
|
||||
|
||||
if (!fsensor_oq_result())
|
||||
|
@ -3247,7 +3245,6 @@ void gcode_M701()
|
|||
if (disable)
|
||||
fsensor_disable();
|
||||
}
|
||||
}
|
||||
#endif //FILAMENT_SENSOR
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue