Fix compiler warning (#15642)

This commit is contained in:
Ivo Pischner 2020-10-27 13:17:25 +01:00
parent 4183b900e5
commit 92754080f3
1 changed files with 5 additions and 2 deletions

View File

@ -1169,8 +1169,11 @@ void Planner::recalculate() {
* Maintain fans, paste extruder pressure,
*/
void Planner::check_axes_activity() {
unsigned char axis_active[NUM_AXIS] = { 0 },
tail_fan_speed[FAN_COUNT];
uint8_t axis_active[NUM_AXIS] = { 0 };
#if FAN_COUNT > 0
uint8_t tail_fan_speed[FAN_COUNT] = { 0 };
#endif
#if ENABLED(BARICUDA)
#if HAS_HEATER_1