Apply TERN to compact code (#17619)
This commit is contained in:
@@ -31,9 +31,7 @@
|
||||
float swap_length, extra_prime;
|
||||
int16_t prime_speed, retract_speed;
|
||||
#endif
|
||||
#if ENABLED(TOOLCHANGE_PARK)
|
||||
xy_pos_t change_point;
|
||||
#endif
|
||||
TERN_(TOOLCHANGE_PARK, xy_pos_t change_point);
|
||||
float z_raise;
|
||||
} toolchange_settings_t;
|
||||
|
||||
@@ -93,13 +91,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(ELECTROMAGNETIC_SWITCHING_TOOLHEAD)
|
||||
void est_init();
|
||||
#endif
|
||||
TERN_(ELECTROMAGNETIC_SWITCHING_TOOLHEAD, void est_init());
|
||||
|
||||
#if ENABLED(SWITCHING_TOOLHEAD)
|
||||
void swt_init();
|
||||
#endif
|
||||
TERN_(SWITCHING_TOOLHEAD, void swt_init());
|
||||
|
||||
/**
|
||||
* Perform a tool-change, which may result in moving the
|
||||
|
||||
Reference in New Issue
Block a user