1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

🩹 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 #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