Selaa lähdekoodia

Correct hardware endstops default

All credits to RicardoGA
AnHardt 9 vuotta sitten
vanhempi
commit
bb66ffb2ae
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      Marlin/endstops.cpp

+ 2
- 2
Marlin/endstops.cpp Näytä tiedosto

39
 Endstops::Endstops() {
39
 Endstops::Endstops() {
40
   enable_globally(
40
   enable_globally(
41
     #if ENABLED(ENDSTOPS_ONLY_FOR_HOMING)
41
     #if ENABLED(ENDSTOPS_ONLY_FOR_HOMING)
42
-      true
43
-    #else
44
       false
42
       false
43
+    #else
44
+      true
45
     #endif
45
     #endif
46
   );
46
   );
47
   enable(true);
47
   enable(true);

Loading…
Peruuta
Tallenna