1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-22 18:25:18 +00:00

✏️ Fix parking extruder compile (#23961)

Followup to d3e3e6a491
This commit is contained in:
John Lagonikas 2022-03-29 11:13:45 +03:00 committed by Scott Lahteine
parent 68ee64283a
commit bd5c6bf23c

View File

@ -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
}