Browse Source

Sanity-check BABYSTEP_DISPLAY_TOTAL with ColorUI (#19284)

Victor Oliveira 4 years ago
parent
commit
4268d86da1
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/src/inc/SanityCheck.h

+ 2
- 0
Marlin/src/inc/SanityCheck.h View File

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

Loading…
Cancel
Save