Solenoid cleanups

Followups to #20473 ahead of #20675
This commit is contained in:
Scott Lahteine
2021-01-04 19:01:45 -06:00
parent 7033003c36
commit 3a99d001ff
2 changed files with 10 additions and 33 deletions

View File

@ -260,11 +260,7 @@ inline void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_a
void pe_solenoid_init() {
LOOP_LE_N(n, 1)
#if ENABLED(PARKING_EXTRUDER_SOLENOIDS_INVERT)
pe_activate_solenoid(n);
#else
pe_deactivate_solenoid(n);
#endif
TERN(PARKING_EXTRUDER_SOLENOIDS_INVERT, pe_activate_solenoid, pe_deactivate_solenoid)(n);
}
void pe_set_solenoid(const uint8_t extruder_num, const uint8_t state) {