Fans loop macro

This commit is contained in:
Scott Lahteine
2018-11-28 15:35:18 -06:00
parent 61db0b65b6
commit 95d154a91f
4 changed files with 7 additions and 6 deletions

View File

@@ -277,7 +277,7 @@ void PrintJobRecovery::resume() {
}
// Restore print cooling fan speeds
for (uint8_t i = 0; i < FAN_COUNT; i++) {
FANS_LOOP(i) {
uint8_t f = info.fan_speed[i];
if (f) {
sprintf_P(cmd, PSTR("M106 P%i S%i"), i, f);