Sfoglia il codice sorgente

✏️ Fix parking extruder compile (#23961)

Followup to d3e3e6a491
John Lagonikas 2 anni fa
parent
commit
51d4c5abea
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/src/feature/solenoid.cpp

+ 1
- 1
Marlin/src/feature/solenoid.cpp Vedi File

@@ -38,7 +38,7 @@ static void set_solenoid(const uint8_t num, const uint8_t state) {
38 38
   }
39 39
 
40 40
   #if ENABLED(PARKING_EXTRUDER)
41
-    if (!active && active_extruder == num) // If active extruder's solenoid is disabled, carriage is considered parked
41
+    if (state == LOW && active_extruder == num) // If active extruder's solenoid is disabled, carriage is considered parked
42 42
       parking_extruder_set_parked(true);
43 43
   #endif
44 44
 }

Loading…
Annulla
Salva