Browse Source

🔧 Only warn about enabled CONFIGURATION_EMBEDDING (#23408)

vanilla_fb_2.0.x
Jason Smith 3 years ago
committed by Scott Lahteine
parent
commit
6d7ffa6add
  1. 2
      Marlin/src/inc/Conditionals_adv.h

2
Marlin/src/inc/Conditionals_adv.h

@ -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…
Cancel
Save