Browse Source

✏️ Fix parking extruder compile (#23961)

Followup to d3e3e6a491
John Lagonikas 3 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
   }
38
   }
39
 
39
 
40
   #if ENABLED(PARKING_EXTRUDER)
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
       parking_extruder_set_parked(true);
42
       parking_extruder_set_parked(true);
43
   #endif
43
   #endif
44
 }
44
 }

Loading…
Cancel
Save