|
@@ -2513,3 +2513,11 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
2513
|
2513
|
#if HAS_ADC_BUTTONS && defined(ADC_BUTTON_DEBOUNCE_DELAY) && !WITHIN(ADC_BUTTON_DEBOUNCE_DELAY, 16, 255)
|
2514
|
2514
|
#error "ADC_BUTTON_DEBOUNCE_DELAY must be an integer from 16 to 255."
|
2515
|
2515
|
#endif
|
|
2516
|
+
|
|
2517
|
+/**
|
|
2518
|
+ * Check to make sure MONITOR_DRIVER_STATUS isn't enabled
|
|
2519
|
+ * on boards where TMC drivers share the SPI bus with SD.
|
|
2520
|
+ */
|
|
2521
|
+#if TMC_HAS_SPI && ALL(MONITOR_DRIVER_STATUS, SDSUPPORT, USES_SHARED_SPI)
|
|
2522
|
+ #error "MONITOR_DRIVER_STATUS and SDSUPPORT cannot be used together on boards with shared SPI."
|
|
2523
|
+#endif
|