Now heat check is also disabled during retract moves, if DISABLE_CHECK_DURING_TRAVEL is enabled
This commit is contained in:
parent
8c4f657095
commit
57c05dde42
2 changed files with 3 additions and 1 deletions
|
|
@ -1021,6 +1021,8 @@ void linear_move(unsigned long axis_steps_remaining[]) // make linear move with
|
|||
//If the move time is more than allowed in DISABLE_CHECK_DURING_TRAVEL, let's
|
||||
// consider this a print move and perform heat management during it
|
||||
if(time_for_move / 1000 > DISABLE_CHECK_DURING_TRAVEL) is_print_move = true;
|
||||
//else, if the move is a retract, consider it as a travel move for the sake of this feature
|
||||
else if(delta[3]>0 && delta[0] + delta[1] + delta[2] == 0) is_print_move = false;
|
||||
#ifdef DEBUG_DISABLE_CHECK_DURING_TRAVEL
|
||||
log_bool("_DISABLE_CHECK_DURING_TRAVEL - is_print_move", is_print_move);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ long max_travel_acceleration_units_per_sq_second[] = {500,500,50}; // X, Y, Z ma
|
|||
//Uncomment the following line to disable heat management during the move
|
||||
//#define DISABLE_CHECK_DURING_MOVE
|
||||
#endif
|
||||
//Uncomment the following line to disable heat management during travel moves, strongly recommended if you are missing steps mid print.
|
||||
//Uncomment the following line to disable heat management during travel moves (and extruder-only moves, eg: retracts), strongly recommended if you are missing steps mid print.
|
||||
//Probably this should remain commented if are using PID.
|
||||
//It also defines the max milliseconds interval after which a travel move is not considered so for the sake of this feature.
|
||||
#define DISABLE_CHECK_DURING_TRAVEL 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue