mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-06-28 01:40:56 +00:00
LIN_ADVANCE single stepper optimization
This commit is contained in:
parent
8291ae34f2
commit
ca0def766e
2 changed files with 19 additions and 11 deletions
Marlin/src/module
|
@ -122,8 +122,13 @@ volatile uint32_t Stepper::step_events_completed = 0; // The number of step even
|
|||
Stepper::final_adv_steps,
|
||||
Stepper::max_adv_steps;
|
||||
|
||||
int8_t Stepper::e_steps = 0,
|
||||
Stepper::LA_active_extruder; // Copy from current executed block. Needed because current_block is set to NULL "too early".
|
||||
int8_t Stepper::e_steps = 0;
|
||||
|
||||
#if E_STEPPERS > 1
|
||||
int8_t Stepper::LA_active_extruder; // Copy from current executed block. Needed because current_block is set to NULL "too early".
|
||||
#else
|
||||
constexpr int8_t Stepper::LA_active_extruder;
|
||||
#endif
|
||||
|
||||
bool Stepper::use_advance_lead;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue