Fix Door sensor with extuders heating

pull/322/head
luc lebosse 2017-08-01 10:17:40 +02:00
rodzic 832ddaf6cf
commit 7c0cb5b01c
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -133,12 +133,12 @@ void Commands::checkForPeriodicalActions(bool allowNewMoves) {
#if HAVE_HEATED_BED==true
if(heatedBedController.targetTemperatureC!=0)bheating=true;
#endif
#if NUM_EXTRUDER>1
#if NUM_EXTRUDER > 0
if(extruder[0].tempControl.targetTemperatureC!=0)bheating=true;
#if NUM_EXTRUDER == 2
if(extruder[1].tempControl.targetTemperatureC!=0)bheating=true;
#endif
#if NUM_EXTRUDER>2
if(extruder[2].tempControl.targetTemperatureC!=0)bheating=true;
#endif
#endif
#endif
if (bheating)
{
countersensor++;