Add HAS_FAN and others
This commit is contained in:
@@ -195,7 +195,7 @@ void PrintJobRecovery::save(const bool force/*=false*/) {
|
||||
|
||||
TERN_(HAS_HEATED_BED, info.target_temperature_bed = thermalManager.temp_bed.target);
|
||||
|
||||
#if FAN_COUNT
|
||||
#if HAS_FAN
|
||||
COPY(info.fan_speed, thermalManager.fan_speed);
|
||||
#endif
|
||||
|
||||
@@ -508,7 +508,7 @@ void PrintJobRecovery::resume() {
|
||||
DEBUG_ECHOLNPAIR("target_temperature_bed: ", info.target_temperature_bed);
|
||||
#endif
|
||||
|
||||
#if FAN_COUNT
|
||||
#if HAS_FAN
|
||||
DEBUG_ECHOPGM("fan_speed: ");
|
||||
FANS_LOOP(i) {
|
||||
DEBUG_ECHO(int(info.fan_speed[i]));
|
||||
|
||||
Reference in New Issue
Block a user