|
@@ -1181,7 +1181,7 @@ void Planner::check_axes_activity() {
|
1181
|
1181
|
if (has_blocks_queued()) {
|
1182
|
1182
|
|
1183
|
1183
|
#if FAN_COUNT > 0
|
1184
|
|
- for (uint8_t i = 0; i < FAN_COUNT; i++)
|
|
1184
|
+ FANS_LOOP(i)
|
1185
|
1185
|
tail_fan_speed[i] = block_buffer[block_buffer_tail].fan_speed[i];
|
1186
|
1186
|
#endif
|
1187
|
1187
|
|
|
@@ -1204,7 +1204,7 @@ void Planner::check_axes_activity() {
|
1204
|
1204
|
}
|
1205
|
1205
|
else {
|
1206
|
1206
|
#if FAN_COUNT > 0
|
1207
|
|
- for (uint8_t i = 0; i < FAN_COUNT; i++) tail_fan_speed[i] = fan_speed[i];
|
|
1207
|
+ FANS_LOOP(i) tail_fan_speed[i] = fan_speed[i];
|
1208
|
1208
|
#endif
|
1209
|
1209
|
|
1210
|
1210
|
#if ENABLED(BARICUDA)
|
|
@@ -1751,7 +1751,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
1751
|
1751
|
#endif
|
1752
|
1752
|
|
1753
|
1753
|
#if FAN_COUNT > 0
|
1754
|
|
- for (uint8_t i = 0; i < FAN_COUNT; i++) block->fan_speed[i] = fan_speed[i];
|
|
1754
|
+ FANS_LOOP(i) block->fan_speed[i] = fan_speed[i];
|
1755
|
1755
|
#endif
|
1756
|
1756
|
|
1757
|
1757
|
#if ENABLED(BARICUDA)
|