Browse Source

Fix EXTRA_FAN_SPEED

Addressing #8158
pull/1/head
Scott Lahteine 7 years ago
parent
commit
31e96935f7
  1. 2
      Marlin/src/Marlin.cpp
  2. 2
      Marlin/src/Marlin.h

2
Marlin/src/Marlin.cpp

@ -165,7 +165,7 @@ bool axis_homed[XYZ] = { false }, axis_known_position[XYZ] = { false };
#if 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],
new_fanSpeeds[FAN_COUNT];
#endif

2
Marlin/src/Marlin.h

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

Loading…
Cancel
Save