Fix EXTRA_FAN_SPEED

Addressing #8158
2.0.x
Scott Lahteine 7 years ago
parent c94dce6b32
commit 31e96935f7

@ -165,7 +165,7 @@ bool axis_homed[XYZ] = { false }, axis_known_position[XYZ] = { false };
#if FAN_COUNT > 0 #if FAN_COUNT > 0
int16_t fanSpeeds[FAN_COUNT] = { 0 }; int16_t fanSpeeds[FAN_COUNT] = { 0 };
#if ENABLED(EXTRA_FAN_SPEEDS) #if ENABLED(EXTRA_FAN_SPEED)
int16_t old_fanSpeeds[FAN_COUNT], int16_t old_fanSpeeds[FAN_COUNT],
new_fanSpeeds[FAN_COUNT]; new_fanSpeeds[FAN_COUNT];
#endif #endif

@ -198,7 +198,7 @@ extern millis_t max_inactive_time, stepper_inactive_time;
#if FAN_COUNT > 0 #if FAN_COUNT > 0
extern int16_t fanSpeeds[FAN_COUNT]; extern int16_t fanSpeeds[FAN_COUNT];
#if ENABLED(EXTRA_FAN_SPEEDS) #if ENABLED(EXTRA_FAN_SPEED)
extern int16_t old_fanSpeeds[FAN_COUNT], extern int16_t old_fanSpeeds[FAN_COUNT],
new_fanSpeeds[FAN_COUNT]; new_fanSpeeds[FAN_COUNT];
#endif #endif

Loading…
Cancel
Save