Parcourir la source

Remove option to heat nozzle only from mFilamentItem() when activated from wizard, as it has no use after filament unload was removed from wizard.

Marek Bel il y a 5 ans
Parent
commit
e1cfd6dc4f
1 fichiers modifiés avec 1 ajouts et 6 suppressions
  1. 1 6
      Firmware/ultralcd.cpp

+ 1 - 6
Firmware/ultralcd.cpp

@@ -2139,12 +2139,7 @@ void mFilamentItem(uint16_t nTemp, uint16_t nTempBed)
     nTargetOld = target_temperature[0];
     nTargetBedOld = target_temperature_bed;
     setTargetHotend0((float )nTemp);
-
-    if (!eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE) ||
-            eFilamentAction == FilamentAction::Lay1Cal)
-    {
-        setTargetBed((float) nTempBed);
-    }
+    setTargetBed((float) nTempBed);
 
     {
         const FilamentAction action = eFilamentAction;