Fix EXTRA_FAN_SPEED

Addressing #8158
This commit is contained in:
Scott Lahteine 2017-10-30 00:10:00 -05:00
parent c94dce6b32
commit 31e96935f7
2 changed files with 2 additions and 2 deletions

View file

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

View file

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