🔧 Only warn about enabled CONFIGURATION_EMBEDDING (#23408)
This commit is contained in:
parent
dadd7516b5
commit
6d7ffa6add
|
@ -1006,7 +1006,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// AVR are (usually) too limited in resources to store the configuration into the binary
|
// 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
|
#undef CONFIGURATION_EMBEDDING
|
||||||
#define CANNOT_EMBED_CONFIGURATION defined(__AVR__)
|
#define CANNOT_EMBED_CONFIGURATION defined(__AVR__)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue