Fix probe fan compiling error (#13930)

This commit is contained in:
Ludy authored and Scott Lahteine committed 2019-05-07 14:14:12 -05:00
1 parent 24e956d168
commit a504366138
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -459,8 +459,9 @@ class Temperature {
static void set_fan_speed(const uint8_t target, const uint16_t speed);
#if ENABLED(PROBING_FANS_OFF)
#if EITHER(PROBING_FANS_OFF, ADVANCED_PAUSE_FANS_PAUSE)
static bool fans_paused;
static uint8_t saved_fan_speed[FAN_COUNT];
#endif
static constexpr inline uint8_t fanPercent(const uint8_t speed) { return ui8_to_percent(speed); }