mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
parent
b360bb9ff9
commit
a847ea625e
@ -427,6 +427,8 @@
|
||||
#define E_MANUAL EXTRUDERS
|
||||
#endif
|
||||
|
||||
#define DO_SWITCH_EXTRUDER (ENABLED(SWITCHING_EXTRUDER) && (DISABLED(SWITCHING_NOZZLE) || SWITCHING_EXTRUDER_SERVO_NR != SWITCHING_NOZZLE_SERVO_NR))
|
||||
|
||||
/**
|
||||
* DISTINCT_E_FACTORS affects how some E factors are accessed
|
||||
*/
|
||||
|
@ -537,10 +537,6 @@ static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL
|
||||
#define BUZZ(d,f) NOOP
|
||||
#endif
|
||||
|
||||
#if ENABLED(SWITCHING_NOZZLE)
|
||||
#define DO_SWITCH_EXTRUDER (SWITCHING_EXTRUDER_SERVO_NR != SWITCHING_NOZZLE_SERVO_NR)
|
||||
#endif
|
||||
|
||||
uint8_t target_extruder;
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
@ -11512,7 +11508,7 @@ inline void gcode_M999() {
|
||||
flush_and_request_resend();
|
||||
}
|
||||
|
||||
#if ENABLED(SWITCHING_EXTRUDER)
|
||||
#if DO_SWITCH_EXTRUDER
|
||||
#if EXTRUDERS > 3
|
||||
#define REQ_ANGLES 4
|
||||
#define _SERVO_NR (e < 2 ? SWITCHING_EXTRUDER_SERVO_NR : SWITCHING_EXTRUDER_E23_SERVO_NR)
|
||||
@ -11532,7 +11528,7 @@ inline void gcode_M999() {
|
||||
safe_delay(500);
|
||||
}
|
||||
}
|
||||
#endif // SWITCHING_EXTRUDER
|
||||
#endif // DO_SWITCH_EXTRUDER
|
||||
|
||||
#if ENABLED(SWITCHING_NOZZLE)
|
||||
inline void move_nozzle_servo(const uint8_t e) {
|
||||
|
@ -3258,7 +3258,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
|
||||
else
|
||||
MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
|
||||
|
||||
#if ENABLED(SWITCHING_EXTRUDER)
|
||||
#if ENABLED(SWITCHING_EXTRUDER) || ENABLED(SWITCHING_NOZZLE)
|
||||
|
||||
#if EXTRUDERS == 4
|
||||
switch (active_extruder) {
|
||||
|
Loading…
Reference in New Issue
Block a user