Add M240 parameters D I J R S
This commit is contained in:
@ -111,12 +111,12 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
|
||||
return thermalManager.wait_for_hotend(active_extruder);
|
||||
}
|
||||
|
||||
void do_pause_e_move(const float &length, const float &fr) {
|
||||
void do_pause_e_move(const float &length, const float &fr_mm_s) {
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
runout.reset();
|
||||
#endif
|
||||
current_position[E_AXIS] += length / planner.e_factor[active_extruder];
|
||||
planner.buffer_line(current_position, fr, active_extruder);
|
||||
planner.buffer_line(current_position, fr_mm_s, active_extruder);
|
||||
planner.synchronize();
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ extern uint8_t did_pause_print;
|
||||
#define DXC_PASS
|
||||
#endif
|
||||
|
||||
void do_pause_e_move(const float &length, const float &fr);
|
||||
void do_pause_e_move(const float &length, const float &fr_mm_s);
|
||||
|
||||
bool pause_print(const float &retract, const point_t &park_point, const float &unload_length=0, const bool show_lcd=false DXC_PARAMS);
|
||||
|
||||
|
Reference in New Issue
Block a user