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 tomek2k1 committed Jan 13, 2023
1 parent a456967 commit 5ae00b8
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 5ae00b8

Please sign in to comment.