Browse Source

✏️ Fix parking extruder compile (#23961)

Followup to d3e3e6a491
John Lagonikas 2 years ago
parent
commit
51d4c5abea
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/solenoid.cpp

+ 1
- 1
Marlin/src/feature/solenoid.cpp View 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…
Cancel
Save