Sfoglia il codice sorgente

Add a sanity check for DELTA_AUTO_CALIBRATION

Scott Lahteine 7 anni fa
parent
commit
6c97c5595c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      Marlin/SanityCheck.h

+ 2
- 0
Marlin/SanityCheck.h Vedi File

@@ -480,6 +480,8 @@ static_assert(1 >= 0
480 480
     #error "You probably want to use Max Endstops for DELTA!"
481 481
   #elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_DELTA
482 482
     #error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL."
483
+  #elif ENABLED(DELTA_AUTO_CALIBRATION) && !HAS_BED_PROBE
484
+    #error "DELTA_AUTO_CALIBRATION requires a probe: FIX_MOUNTED_PROBE, BLTOUCH, SOLENOID_PROBE, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or Z Servo."
483 485
   #elif ABL_GRID
484 486
     #if (GRID_MAX_POINTS_X & 1) == 0 || (GRID_MAX_POINTS_Y & 1) == 0
485 487
       #error "DELTA requires GRID_MAX_POINTS_X and GRID_MAX_POINTS_Y to be odd numbers."

Loading…
Annulla
Salva