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
     #if ENABLED(BABYSTEP_XY)
789
     #if ENABLED(BABYSTEP_XY)
790
       static_assert(BABYSTEP_MULTIPLICATOR_XY <= 0.25f, "BABYSTEP_MULTIPLICATOR_XY must be less than or equal to 0.25mm.");
790
       static_assert(BABYSTEP_MULTIPLICATOR_XY <= 0.25f, "BABYSTEP_MULTIPLICATOR_XY must be less than or equal to 0.25mm.");
791
     #endif
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
   #endif
794
   #endif
793
 #endif
795
 #endif
794
 
796
 

Loading…
Cancel
Save