Browse Source

Undef unused 2nd serial option(s) (#21331)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
vanilla_fb_2.0.x
X-Ryl669 4 years ago
committed by GitHub
parent
commit
9dc2712c47
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Marlin/src/inc/Conditionals_post.h

5
Marlin/src/inc/Conditionals_post.h

@ -2913,6 +2913,9 @@
#define HAS_MULTI_SERIAL 1 #define HAS_MULTI_SERIAL 1
#endif #endif
#if ENABLED(MEATPACK_ON_SERIAL_PORT_1) || BOTH(HAS_MULTI_SERIAL, MEATPACK_ON_SERIAL_PORT_2) #if !HAS_MULTI_SERIAL
#undef MEATPACK_ON_SERIAL_PORT_2
#endif
#if EITHER(MEATPACK_ON_SERIAL_PORT_1, MEATPACK_ON_SERIAL_PORT_2)
#define HAS_MEATPACK 1 #define HAS_MEATPACK 1
#endif #endif

Loading…
Cancel
Save