Merge pull request #1907 from DRracer/fan_check_error_fix
Do not allow resume printing if fans are still not ok
This commit is contained in:
commit
cb6a3e7e12
@ -9367,6 +9367,12 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
|
|||||||
void restore_print_from_ram_and_continue(float e_move)
|
void restore_print_from_ram_and_continue(float e_move)
|
||||||
{
|
{
|
||||||
if (!saved_printing) return;
|
if (!saved_printing) return;
|
||||||
|
|
||||||
|
#ifdef FANCHECK
|
||||||
|
// Do not allow resume printing if fans are still not ok
|
||||||
|
if( fan_check_error != EFCE_OK )return;
|
||||||
|
#endif
|
||||||
|
|
||||||
// for (int axis = X_AXIS; axis <= E_AXIS; axis++)
|
// for (int axis = X_AXIS; axis <= E_AXIS; axis++)
|
||||||
// current_position[axis] = st_get_position_mm(axis);
|
// current_position[axis] = st_get_position_mm(axis);
|
||||||
active_extruder = saved_active_extruder; //restore active_extruder
|
active_extruder = saved_active_extruder; //restore active_extruder
|
||||||
|
Loading…
Reference in New Issue
Block a user