Skip to content

Commit

Permalink
[1.1.x] Fix compiler warning (MarlinFirmware#15642)
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net authored and thinkyhead committed Oct 24, 2019
1 parent 5754472 commit e068f66
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Marlin/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e068f66

Please sign in to comment.