Group some sanity checks

This commit is contained in:
Scott Lahteine 2020-05-31 02:13:53 -05:00
parent bda380513a
commit 785f442c8c
4 changed files with 7 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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