Fix Singlenozzle Standby issues (#21759)

Fixes #21758

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
ellensp
2021-05-01 20:21:18 +12:00
committed by Scott Lahteine
parent 8abef30a75
commit d00f6cbe12
6 changed files with 34 additions and 18 deletions

View File

@ -640,6 +640,16 @@
#endif
#endif
/**
* Disable unused SINGLENOZZLE sub-options
*/
#if DISABLED(SINGLENOZZLE)
#undef SINGLENOZZLE_STANDBY_TEMP
#endif
#if !BOTH(HAS_FAN, SINGLENOZZLE)
#undef SINGLENOZZLE_STANDBY_FAN
#endif
/**
* DISTINCT_E_FACTORS affects how some E factors are accessed
*/