Browse Source

Allow G33 to compile with no LCD

Scott Lahteine 7 years ago
parent
commit
0af22549a6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/calibrate/G33.cpp

+ 2
- 2
Marlin/src/gcode/calibrate/G33.cpp View File

204
   #endif
204
   #endif
205
 }
205
 }
206
 
206
 
207
-#if HAS_BED_PROBE
207
+#if HAS_BED_PROBE && ENABLED(ULTIPANEL)
208
   static float probe_z_shift(const float center) {
208
   static float probe_z_shift(const float center) {
209
     STOW_PROBE();
209
     STOW_PROBE();
210
     endstops.enable_z_probe(false);
210
     endstops.enable_z_probe(false);
588
 
588
 
589
       switch (probe_points) {
589
       switch (probe_points) {
590
         case -1:
590
         case -1:
591
-          #if HAS_BED_PROBE
591
+          #if HAS_BED_PROBE && ENABLED(ULTIPANEL)
592
             zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
592
             zprobe_zoffset += probe_z_shift(z_at_pt[CEN]);
593
           #endif
593
           #endif
594
 
594
 

Loading…
Cancel
Save