mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-15 12:25:31 -07:00
Use uint8_t for all fan speeds (#12032)
This commit is contained in:
parent
cb7844c8d4
commit
d6b0fbd771
25 changed files with 88 additions and 91 deletions
|
|
@ -273,12 +273,12 @@ float zprobe_zoffset; // Initialized by settings.load()
|
|||
fans_paused = p;
|
||||
if (p)
|
||||
for (uint8_t x = 0; x < FAN_COUNT; x++) {
|
||||
paused_fanSpeeds[x] = fanSpeeds[x];
|
||||
fanSpeeds[x] = 0;
|
||||
paused_fan_speed[x] = fan_speed[x];
|
||||
fan_speed[x] = 0;
|
||||
}
|
||||
else
|
||||
for (uint8_t x = 0; x < FAN_COUNT; x++)
|
||||
fanSpeeds[x] = paused_fanSpeeds[x];
|
||||
fan_speed[x] = paused_fan_speed[x];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue