🩹 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 GitHub
parent afce7d6dd5
commit 26689e1d85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1309,7 +1309,7 @@ void Planner::check_axes_activity() {
#endif
#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;
#endif