Don't apply hotend_offset.z to Z soft endstops (#20675)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
committed by
Scott Lahteine
co-authored by
Scott Lahteine
parent
01c9d49f09
commit
d324f3b16a
@@ -58,6 +58,11 @@ static void set_solenoid(const uint8_t num, const bool active) {
|
||||
#endif
|
||||
default: SERIAL_ECHO_MSG(STR_INVALID_SOLENOID); break;
|
||||
}
|
||||
|
||||
#if ENABLED(PARKING_EXTRUDER)
|
||||
if (!active && active_extruder == num) // If active extruder's solenoid is disabled, carriage is considered parked
|
||||
parking_extruder_set_parked(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
void enable_solenoid(const uint8_t num) { set_solenoid(num, true); }
|
||||
|
||||
Reference in New Issue
Block a user