Browse Source

disable sled pin by default

Christian Bohn 9 years ago
parent
commit
27a3b1d895
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/pins_SANGUINOLOLU_11.h

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -2023,12 +2023,12 @@ inline void gcode_G28() {
2023 2023
 
2024 2024
       if (home_all_axis || homeZ) {
2025 2025
 
2026
-        #ifdef Z_SAFE_HOMING    
2026
+        #ifdef Z_SAFE_HOMING
2027 2027
 
2028 2028
           if (home_all_axis) {
2029 2029
 
2030 2030
             current_position[Z_AXIS] = 0;
2031
-            sync_plan_position();         
2031
+            sync_plan_position();
2032 2032
 
2033 2033
             //
2034 2034
             // Set the probe (or just the nozzle) destination to the safe homing point

+ 1
- 1
Marlin/pins_SANGUINOLOLU_11.h View File

@@ -45,7 +45,7 @@
45 45
 #endif
46 46
 
47 47
 #ifdef Z_PROBE_SLED
48
-  #define SLED_PIN         27
48
+  #define SLED_PIN         -1
49 49
 #endif
50 50
 
51 51
 #ifdef NUM_SERVOS

Loading…
Cancel
Save