🔧 Only warn about enabled CONFIGURATION_EMBEDDING (#23408)

This commit is contained in:
Jason Smith 2021-12-31 12:32:28 -08:00 committed by Scott Lahteine
parent dadd7516b5
commit 6d7ffa6add

View File

@ -1006,7 +1006,7 @@
#endif
// AVR are (usually) too limited in resources to store the configuration into the binary
#if !defined(FORCE_CONFIG_EMBED) && (defined(__AVR__) || DISABLED(SDSUPPORT) || EITHER(SDCARD_READONLY, DISABLE_M503))
#if ENABLED(CONFIGURATION_EMBEDDING) && !defined(FORCE_CONFIG_EMBED) && (defined(__AVR__) || DISABLED(SDSUPPORT) || EITHER(SDCARD_READONLY, DISABLE_M503))
#undef CONFIGURATION_EMBEDDING
#define CANNOT_EMBED_CONFIGURATION defined(__AVR__)
#endif