Browse Source

Group some sanity checks

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
785f442c8c
  1. 4
      Marlin/src/HAL/LPC1768/inc/SanityCheck.h
  2. 4
      Marlin/src/HAL/STM32/inc/SanityCheck.h
  3. 4
      Marlin/src/HAL/STM32F1/inc/SanityCheck.h

4
Marlin/src/HAL/LPC1768/inc/SanityCheck.h

@ -254,8 +254,6 @@ static_assert(DISABLED(BAUD_RATE_GCODE), "BAUD_RATE_GCODE is not yet supported o
#if ENABLED(SERIAL_STATS_MAX_RX_QUEUED)
#error "SERIAL_STATS_MAX_RX_QUEUED is not supported on this platform."
#endif
#if ENABLED(SERIAL_STATS_DROPPED_RX)
#elif ENABLED(SERIAL_STATS_DROPPED_RX)
#error "SERIAL_STATS_DROPPED_RX is not supported on this platform."
#endif

4
Marlin/src/HAL/STM32/inc/SanityCheck.h

@ -51,8 +51,6 @@
#if ENABLED(SERIAL_STATS_MAX_RX_QUEUED)
#error "SERIAL_STATS_MAX_RX_QUEUED is not supported on this platform."
#endif
#if ENABLED(SERIAL_STATS_DROPPED_RX)
#elif ENABLED(SERIAL_STATS_DROPPED_RX)
#error "SERIAL_STATS_DROPPED_RX is not supported on this platform."
#endif

4
Marlin/src/HAL/STM32F1/inc/SanityCheck.h

@ -52,8 +52,6 @@
#if ENABLED(SERIAL_STATS_MAX_RX_QUEUED)
#error "SERIAL_STATS_MAX_RX_QUEUED is not supported on this platform."
#endif
#if ENABLED(SERIAL_STATS_DROPPED_RX)
#elif ENABLED(SERIAL_STATS_DROPPED_RX)
#error "SERIAL_STATS_DROPPED_RX is not supported on this platform."
#endif

Loading…
Cancel
Save