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 Mar 29, 2022
1 parent 0b66906 commit 51d4c5a
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 51d4c5a

Please sign in to comment.