✏️ 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 GitHub
parent 0b669067b9
commit 51d4c5abea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}