Unused variable (#14301)

2.0.x
Ludy 6 years ago committed by Scott Lahteine
parent 6b2d42434c
commit 2290b269dc

@ -1303,7 +1303,8 @@ void Planner::check_axes_activity() {
analogWrite(FAN2_PIN, CALC_FAN_SPEED(2)); analogWrite(FAN2_PIN, CALC_FAN_SPEED(2));
#endif #endif
#endif #endif
#else
UNUSED(tail_fan_speed);
#endif // FAN_COUNT > 0 #endif // FAN_COUNT > 0
#if ENABLED(AUTOTEMP) #if ENABLED(AUTOTEMP)

@ -778,6 +778,8 @@ void Temperature::_temp_error(const int8_t heater, PGM_P const serial_msg, PGM_P
} }
else else
disable_all_heaters(); // paranoia disable_all_heaters(); // paranoia
#else
UNUSED(killed);
#endif #endif
} }

Loading…
Cancel
Save