BugFix for incorrect E-speed calculation
The extrusion speed was wrong due to a not high enough precision of esteps to XY steps, therefore now the target float values are used to calculate the ratio between XY movement and extrusion speed. The e_speed_multiplier8 was replaced by an absolute multiplier called abs_adv_steps_multiplier8, therefore one multiplication and bitshift can be saved inside the stepper ISR. Due to this, also extruder_advance_k is better suited inside the planner and not the stepper files any more.
This commit is contained in:
parent
fa6bf12697
commit
f9bea7968f
5 changed files with 48 additions and 30 deletions
|
|
@ -6988,7 +6988,7 @@ inline void gcode_M503() {
|
|||
*/
|
||||
inline void gcode_M905() {
|
||||
stepper.synchronize();
|
||||
stepper.advance_M905(code_seen('K') ? code_value_float() : -1.0);
|
||||
planner.advance_M905(code_seen('K') ? code_value_float() : -1.0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue