test fan check error only when enabled by #ifdef

This commit is contained in:
DRracer 2019-06-11 15:05:40 +02:00
parent 3e37150552
commit 13c3ab14fa

View File

@ -9324,8 +9324,10 @@ void restore_print_from_ram_and_continue(float e_move)
{
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++)
// current_position[axis] = st_get_position_mm(axis);