Quellcode durchsuchen

Sanity-check BABYSTEP_DISPLAY_TOTAL with ColorUI (#19284)

Victor Oliveira vor 5 Jahren
Ursprung
Commit
4268d86da1
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2
    0
      Marlin/src/inc/SanityCheck.h

+ 2
- 0
Marlin/src/inc/SanityCheck.h Datei anzeigen

@@ -789,6 +789,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
789 789
     #if ENABLED(BABYSTEP_XY)
790 790
       static_assert(BABYSTEP_MULTIPLICATOR_XY <= 0.25f, "BABYSTEP_MULTIPLICATOR_XY must be less than or equal to 0.25mm.");
791 791
     #endif
792
+  #elif ENABLED(BABYSTEP_DISPLAY_TOTAL) && ANY(TFT_320x240, TFT_320x240_SPI, TFT_480x320, TFT_480x320_SPI)
793
+    #error "New Color UI (TFT_320x240, TFT_320x240_SPI, TFT_480x320, TFT_480x320_SPI) does not support BABYSTEP_DISPLAY_TOTAL yet."
792 794
   #endif
793 795
 #endif
794 796
 

Laden…
Abbrechen
Speichern