1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 14:24:34 +00:00

Unused variable (#14301)

This commit is contained in:
Ludy 2019-06-18 07:15:41 +02:00 committed by Scott Lahteine
parent 6b2d42434c
commit 2290b269dc
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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
} }