No unscaled_e_move for CNC
This commit is contained in:
parent
d029a09810
commit
223aa5cc4e
2 changed files with 13 additions and 9 deletions
|
@ -336,14 +336,16 @@ void line_to_current_position(const feedRate_t &fr_mm_s/*=feedrate_mm_s*/) {
|
||||||
planner.buffer_line(current_position, fr_mm_s, active_extruder);
|
planner.buffer_line(current_position, fr_mm_s, active_extruder);
|
||||||
}
|
}
|
||||||
|
|
||||||
void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s) {
|
#if EXTRUDERS
|
||||||
#if HAS_FILAMENT_SENSOR
|
void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s) {
|
||||||
runout.reset();
|
#if HAS_FILAMENT_SENSOR
|
||||||
#endif
|
runout.reset();
|
||||||
current_position.e += length / planner.e_factor[active_extruder];
|
#endif
|
||||||
line_to_current_position(fr_mm_s);
|
current_position.e += length / planner.e_factor[active_extruder];
|
||||||
planner.synchronize();
|
line_to_current_position(fr_mm_s);
|
||||||
}
|
planner.synchronize();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if IS_KINEMATIC
|
#if IS_KINEMATIC
|
||||||
|
|
||||||
|
|
|
@ -184,7 +184,9 @@ void sync_plan_position_e();
|
||||||
*/
|
*/
|
||||||
void line_to_current_position(const feedRate_t &fr_mm_s=feedrate_mm_s);
|
void line_to_current_position(const feedRate_t &fr_mm_s=feedrate_mm_s);
|
||||||
|
|
||||||
void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s);
|
#if EXTRUDERS
|
||||||
|
void unscaled_e_move(const float &length, const feedRate_t &fr_mm_s);
|
||||||
|
#endif
|
||||||
|
|
||||||
void prepare_line_to_destination();
|
void prepare_line_to_destination();
|
||||||
|
|
||||||
|
|
Reference in a new issue