NUM_REDUNDANT_FANS too

This commit is contained in:
Scott Lahteine
2023-05-13 18:09:48 -05:00
parent 4e1bfc4e0d
commit f97a813a2a

View File

@@ -471,7 +471,7 @@ PGMSTR(str_t_heating_failed, STR_T_HEATING_FAILED);
#if NUM_REDUNDANT_FANS
if (fan == 0) {
for (uint8_t f = REDUNDANT_PART_COOLING_FAN; f < REDUNDANT_PART_COOLING_FAN + NUM_REDUNDANT_FANS; ++f)
thermalManager.set_fan_speed(f, 0);
thermalManager.set_fan_speed(f, speed);
}
#endif