🩹 Init fan speed at boot (#23181)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Robby Candra 2021-12-14 07:11:52 +07:00 committed by Scott Lahteine
parent c781ecc437
commit f3e372cb4c

View File

@ -1309,7 +1309,7 @@ void Planner::check_axes_activity() {
#endif #endif
#if HAS_TAIL_FAN_SPEED #if HAS_TAIL_FAN_SPEED
static uint8_t tail_fan_speed[FAN_COUNT]; static uint8_t tail_fan_speed[FAN_COUNT] = ARRAY_N_1(FAN_COUNT, 255);
bool fans_need_update = false; bool fans_need_update = false;
#endif #endif