Skip to content

Commit

Permalink
✏️ Fix parking extruder compile (MarlinFirmware#23961)
Browse files Browse the repository at this point in the history
Followup to d3e3e6a
  • Loading branch information
zeleps authored and mh-dm committed May 15, 2022
1 parent 2b5c285 commit c73ad04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/feature/solenoid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static void set_solenoid(const uint8_t num, const uint8_t state) {
}

#if ENABLED(PARKING_EXTRUDER)
if (!active && active_extruder == num) // If active extruder's solenoid is disabled, carriage is considered parked
if (state == LOW && active_extruder == num) // If active extruder's solenoid is disabled, carriage is considered parked
parking_extruder_set_parked(true);
#endif
}
Expand Down

0 comments on commit c73ad04

Please sign in to comment.