Ver código fonte

Allow pullup/downs on power loss pin (#14986)

Tim Moore 4 anos atrás
pai
commit
67f8ba6fed
100 arquivos alterados com 120 adições e 1 exclusões
  1. 1
    0
      Marlin/Configuration_adv.h
  2. 4
    0
      Marlin/src/Marlin.cpp
  3. 19
    1
      Marlin/src/feature/power_loss_recovery.h
  4. 1
    0
      config/default/Configuration_adv.h
  5. 1
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  6. 1
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 1
    0
      config/examples/Alfawise/U20/Configuration_adv.h
  8. 1
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  9. 1
    0
      config/examples/Anet/A2/Configuration_adv.h
  10. 1
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  11. 1
    0
      config/examples/Anet/A6/Configuration_adv.h
  12. 1
    0
      config/examples/Anet/A8/Configuration_adv.h
  13. 1
    0
      config/examples/Anet/A8plus/Configuration_adv.h
  14. 1
    0
      config/examples/Anet/E16/Configuration_adv.h
  15. 1
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  16. 1
    0
      config/examples/ArmEd/Configuration_adv.h
  17. 1
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  18. 1
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  19. 1
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  20. 1
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  21. 1
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  22. 1
    0
      config/examples/Cartesio/Configuration_adv.h
  23. 1
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  24. 1
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  25. 1
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  26. 1
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  27. 1
    0
      config/examples/Creality/CR-20 Pro/Configuration_adv.h
  28. 1
    0
      config/examples/Creality/CR-20/Configuration_adv.h
  29. 1
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  30. 1
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  31. 1
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  32. 1
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  33. 1
    0
      config/examples/Creality/Ender-5/Configuration_adv.h
  34. 1
    0
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  35. 1
    0
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  36. 1
    0
      config/examples/Einstart-S/Configuration_adv.h
  37. 1
    0
      config/examples/FYSETC/AIO_II/Configuration_adv.h
  38. 1
    0
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h
  39. 1
    0
      config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h
  40. 1
    0
      config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h
  41. 1
    0
      config/examples/FYSETC/Cheetah/base/Configuration_adv.h
  42. 1
    0
      config/examples/FYSETC/F6_13/Configuration_adv.h
  43. 1
    0
      config/examples/Felix/Configuration_adv.h
  44. 1
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  45. 1
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  46. 1
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  47. 1
    0
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  48. 1
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  49. 1
    0
      config/examples/Geeetech/A10/Configuration_adv.h
  50. 1
    0
      config/examples/Geeetech/A10M/Configuration_adv.h
  51. 1
    0
      config/examples/Geeetech/A20M/Configuration_adv.h
  52. 1
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  53. 1
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  54. 1
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  55. 1
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  56. 1
    0
      config/examples/JGAurora/A1/Configuration_adv.h
  57. 1
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  58. 1
    0
      config/examples/JGAurora/A5S/Configuration_adv.h
  59. 1
    0
      config/examples/MakerParts/Configuration_adv.h
  60. 1
    0
      config/examples/Malyan/M150/Configuration_adv.h
  61. 1
    0
      config/examples/Malyan/M200/Configuration_adv.h
  62. 1
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  63. 1
    0
      config/examples/Mks/Robin/Configuration_adv.h
  64. 1
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  65. 1
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  66. 1
    0
      config/examples/RigidBot/Configuration_adv.h
  67. 1
    0
      config/examples/SCARA/Configuration_adv.h
  68. 1
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  69. 1
    0
      config/examples/Sanguinololu/Configuration_adv.h
  70. 1
    0
      config/examples/Tevo/Michelangelo/Configuration_adv.h
  71. 1
    0
      config/examples/Tevo/Tarantula Pro/Configuration_adv.h
  72. 1
    0
      config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h
  73. 1
    0
      config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h
  74. 1
    0
      config/examples/TheBorg/Configuration_adv.h
  75. 1
    0
      config/examples/TinyBoy2/Configuration_adv.h
  76. 1
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  77. 1
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  78. 1
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  79. 1
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  80. 1
    0
      config/examples/VORONDesign/Configuration_adv.h
  81. 1
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  82. 1
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  83. 1
    0
      config/examples/WASP/PowerWASP/Configuration_adv.h
  84. 1
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  85. 1
    0
      config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h
  86. 1
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  87. 1
    0
      config/examples/delta/Dreammaker/Overlord/Configuration_adv.h
  88. 1
    0
      config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h
  89. 1
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  90. 1
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  91. 1
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  92. 1
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  93. 1
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  94. 1
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  95. 1
    0
      config/examples/delta/generic/Configuration_adv.h
  96. 1
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  97. 1
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  98. 1
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  99. 1
    0
      config/examples/makibox/Configuration_adv.h
  100. 0
    0
      config/examples/tvrrug/Round2/Configuration_adv.h

+ 1
- 0
Marlin/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 4
- 0
Marlin/src/Marlin.cpp Ver arquivo

@@ -886,6 +886,10 @@ void setup() {
886 886
     runout.setup();
887 887
   #endif
888 888
 
889
+  #if ENABLED(POWER_LOSS_RECOVERY)
890
+    recovery.setup();
891
+  #endif
892
+
889 893
   setup_killpin();
890 894
 
891 895
   #if HAS_TMC220x

+ 19
- 1
Marlin/src/feature/power_loss_recovery.h Ver arquivo

@@ -26,12 +26,16 @@
26 26
  */
27 27
 
28 28
 #include "../sd/cardreader.h"
29
-#include "../inc/MarlinConfigPre.h"
29
+#include "../inc/MarlinConfig.h"
30 30
 
31 31
 #if ENABLED(MIXING_EXTRUDER)
32 32
   #include "../feature/mixing.h"
33 33
 #endif
34 34
 
35
+#if !defined(POWER_LOSS_STATE) && PIN_EXISTS(POWER_LOSS)
36
+  #define POWER_LOSS_STATE HIGH
37
+#endif
38
+
35 39
 //#define DEBUG_POWER_LOSS_RECOVERY
36 40
 //#define SAVE_EACH_CMD_MODE
37 41
 //#define SAVE_INFO_INTERVAL_MS 0
@@ -110,6 +114,20 @@ class PrintJobRecovery {
110 114
 
111 115
     static void init();
112 116
 
117
+    static inline void setup() {
118
+      #if PIN_EXISTS(POWER_LOSS)
119
+        #if ENABLED(POWER_LOSS_PULL)
120
+          #if POWER_LOSS_STATE == LOW
121
+            SET_INPUT_PULLUP(POWER_LOSS_PIN);
122
+          #else
123
+            SET_INPUT_PULLDOWN(POWER_LOSS_PIN);
124
+          #endif
125
+        #else
126
+          SET_INPUT(POWER_LOSS_PIN);
127
+        #endif
128
+      #endif
129
+    }
130
+
113 131
     static bool enabled;
114 132
     static void enable(const bool onoff);
115 133
     static void changed();

+ 1
- 0
config/default/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Alfawise/U20/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/A2/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/A2plus/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/A6/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/A8/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/A8plus/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Anet/E16/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/AnyCubic/i3/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/ArmEd/Configuration_adv.h Ver arquivo

@@ -939,6 +939,7 @@
939 939
   #if ENABLED(POWER_LOSS_RECOVERY)
940 940
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
941 941
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
942
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
942 943
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
943 944
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
944 945
 

+ 1
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/BQ/Hephestos/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h Ver arquivo

@@ -943,6 +943,7 @@
943 943
   #if ENABLED(POWER_LOSS_RECOVERY)
944 944
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
945 945
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
946
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
946 947
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
947 948
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
948 949
 

+ 1
- 0
config/examples/BQ/WITBOX/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Cartesio/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-10/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-10S/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-20 Pro/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-20/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/CR-8/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/Ender-2/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/Ender-3/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/Ender-4/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Creality/Ender-5/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Einstart-S/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/FYSETC/AIO_II/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/FYSETC/Cheetah/base/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/FYSETC/F6_13/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Felix/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Formbot/Raptor/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Ver arquivo

@@ -939,6 +939,7 @@
939 939
   #if ENABLED(POWER_LOSS_RECOVERY)
940 940
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
941 941
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
942
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
942 943
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
943 944
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
944 945
 

+ 1
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h Ver arquivo

@@ -939,6 +939,7 @@
939 939
   #if ENABLED(POWER_LOSS_RECOVERY)
940 940
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
941 941
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
942
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
942 943
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
943 944
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
944 945
 

+ 1
- 0
config/examples/Geeetech/A10/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Geeetech/A10M/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     #define POWER_LOSS_PIN           69 // Pin to detect power loss
937 937
     #define POWER_LOSS_STATE        LOW // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Geeetech/A20M/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     #define POWER_LOSS_PIN           69 // Pin to detect power loss
937 937
     #define POWER_LOSS_STATE        LOW // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/JGAurora/A1/Configuration_adv.h Ver arquivo

@@ -940,6 +940,7 @@
940 940
   #if ENABLED(POWER_LOSS_RECOVERY)
941 941
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
942 942
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
943
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
943 944
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
944 945
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
945 946
 

+ 1
- 0
config/examples/JGAurora/A5/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/JGAurora/A5S/Configuration_adv.h Ver arquivo

@@ -940,6 +940,7 @@
940 940
   #if ENABLED(POWER_LOSS_RECOVERY)
941 941
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
942 942
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
943
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
943 944
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
944 945
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
945 946
 

+ 1
- 0
config/examples/MakerParts/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Malyan/M150/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Malyan/M200/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Mks/Robin/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Mks/Sbase/Configuration_adv.h Ver arquivo

@@ -936,6 +936,7 @@
936 936
   #if ENABLED(POWER_LOSS_RECOVERY)
937 937
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
938 938
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
939
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
939 940
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
940 941
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
941 942
 

+ 1
- 0
config/examples/RapideLite/RL200/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/RigidBot/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/SCARA/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Sanguinololu/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Tevo/Michelangelo/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/Tevo/Tarantula Pro/Configuration_adv.h Ver arquivo

@@ -931,6 +931,7 @@
931 931
   #if ENABLED(POWER_LOSS_RECOVERY)
932 932
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
933 933
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
934
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
934 935
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
935 936
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
936 937
 

+ 1
- 0
config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration_adv.h Ver arquivo

@@ -934,6 +934,7 @@
934 934
   #if ENABLED(POWER_LOSS_RECOVERY)
935 935
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
936 936
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
937
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
937 938
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
938 939
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
939 940
 

+ 1
- 0
config/examples/TheBorg/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/TinyBoy2/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Tronxy/X3A/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/VORONDesign/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Velleman/K8200/Configuration_adv.h Ver arquivo

@@ -948,6 +948,7 @@
948 948
   #if ENABLED(POWER_LOSS_RECOVERY)
949 949
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
950 950
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
951
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
951 952
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
952 953
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
953 954
 

+ 1
- 0
config/examples/Velleman/K8400/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/WASP/PowerWASP/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     #define POWER_LOSS_PIN           65 // Pin to detect power loss
937 937
     #define POWER_LOSS_STATE        LOW // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/Dreammaker/Overlord/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss (optional)
939 939
     #define POWER_LOSS_STATE        LOW // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/Dreammaker/Overlord_Pro/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss (optional)
939 939
     #define POWER_LOSS_STATE        LOW // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/generic/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/kossel_mini/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/delta/kossel_xl/Configuration_adv.h Ver arquivo

@@ -937,6 +937,7 @@
937 937
   #if ENABLED(POWER_LOSS_RECOVERY)
938 938
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
939 939
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
940
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
940 941
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
941 942
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
942 943
 

+ 1
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 1
- 0
config/examples/makibox/Configuration_adv.h Ver arquivo

@@ -935,6 +935,7 @@
935 935
   #if ENABLED(POWER_LOSS_RECOVERY)
936 936
     //#define POWER_LOSS_PIN         44 // Pin to detect power loss
937 937
     //#define POWER_LOSS_STATE     HIGH // State of pin indicating power loss
938
+    //#define POWER_LOSS_PULL           // Set pullup / pulldown as appropriate
938 939
     //#define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
939 940
     //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.
940 941
 

+ 0
- 0
config/examples/tvrrug/Round2/Configuration_adv.h Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff

Carregando…
Cancelar
Salvar