Browse Source

Assisted Tramming requires a probe (#18912)

Keith Bennett 5 years ago
parent
commit
5823ebb446
No account linked to committer's email address
2 changed files with 8 additions and 1 deletions
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 7
    0
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/Configuration_adv.h View File

@@ -769,7 +769,7 @@
769 769
 #endif
770 770
 
771 771
 //
772
-// Add the G35 command to read bed corners to help adjust screws.
772
+// Add the G35 command to read bed corners to help adjust screws. Requires a bed probe.
773 773
 //
774 774
 //#define ASSISTED_TRAMMING
775 775
 #if ENABLED(ASSISTED_TRAMMING)

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

@@ -2073,6 +2073,13 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
2073 2073
 #endif
2074 2074
 
2075 2075
 /**
2076
+ * G35 Assisted Tramming
2077
+ */
2078
+#if ENABLED(ASSISTED_TRAMMING) && !HAS_BED_PROBE
2079
+  #error "ASSISTED_TRAMMING requires a bed probe."
2080
+#endif
2081
+
2082
+/**
2076 2083
  * G38 Probe Target
2077 2084
  */
2078 2085
 #if ENABLED(G38_PROBE_TARGET)

Loading…
Cancel
Save