🧑💻 EXTRUDER_LOOP macro
This commit is contained in:
committed by
Scott Lahteine
parent
b094a3fc0d
commit
4a8b99d505
@ -3138,9 +3138,9 @@ void MarlinSettings::reset() {
|
||||
//
|
||||
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
LOOP_L_N(i, EXTRUDERS) {
|
||||
planner.extruder_advance_K[i] = LIN_ADVANCE_K;
|
||||
TERN_(EXTRA_LIN_ADVANCE_K, other_extruder_advance_K[i] = LIN_ADVANCE_K);
|
||||
EXTRUDER_LOOP() {
|
||||
planner.extruder_advance_K[e] = LIN_ADVANCE_K;
|
||||
TERN_(EXTRA_LIN_ADVANCE_K, other_extruder_advance_K[e] = LIN_ADVANCE_K);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -3185,7 +3185,7 @@ void MarlinSettings::reset() {
|
||||
// Advanced Pause filament load & unload lengths
|
||||
//
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
LOOP_L_N(e, EXTRUDERS) {
|
||||
EXTRUDER_LOOP() {
|
||||
fc_settings[e].unload_length = FILAMENT_CHANGE_UNLOAD_LENGTH;
|
||||
fc_settings[e].load_length = FILAMENT_CHANGE_FAST_LOAD_LENGTH;
|
||||
}
|
||||
|
Reference in New Issue
Block a user