test fan check error only when enabled by #ifdef
This commit is contained in:
parent
3e37150552
commit
13c3ab14fa
|
|
@ -9324,8 +9324,10 @@ 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
|
// Do not allow resume printing if fans are still not ok
|
||||||
if( fan_check_error != EFCE_OK )return;
|
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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue