Bläddra i källkod

Add extra Linear Advance factors (#13490)

Sam Lane 5 år sedan
förälder
incheckning
e3ab54753b
75 ändrade filer med 322 tillägg och 170 borttagningar
  1. 3
    2
      Marlin/Configuration_adv.h
  2. 93
    23
      Marlin/src/gcode/feature/advance/M900.cpp
  3. 10
    1
      Marlin/src/module/configuration_store.cpp
  4. 3
    2
      config/default/Configuration_adv.h
  5. 3
    2
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  6. 3
    2
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 3
    2
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  8. 3
    2
      config/examples/Anet/A2/Configuration_adv.h
  9. 3
    2
      config/examples/Anet/A2plus/Configuration_adv.h
  10. 3
    2
      config/examples/Anet/A6/Configuration_adv.h
  11. 3
    2
      config/examples/Anet/A8/Configuration_adv.h
  12. 3
    2
      config/examples/AnyCubic/i3/Configuration_adv.h
  13. 3
    2
      config/examples/ArmEd/Configuration_adv.h
  14. 3
    2
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  15. 3
    2
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  16. 3
    2
      config/examples/BQ/Hephestos/Configuration_adv.h
  17. 3
    2
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  18. 3
    2
      config/examples/BQ/WITBOX/Configuration_adv.h
  19. 3
    2
      config/examples/Cartesio/Configuration_adv.h
  20. 3
    2
      config/examples/Creality/CR-10/Configuration_adv.h
  21. 3
    2
      config/examples/Creality/CR-10S/Configuration_adv.h
  22. 3
    2
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  23. 3
    2
      config/examples/Creality/CR-10mini/Configuration_adv.h
  24. 3
    2
      config/examples/Creality/CR-8/Configuration_adv.h
  25. 3
    2
      config/examples/Creality/Ender-2/Configuration_adv.h
  26. 3
    2
      config/examples/Creality/Ender-3/Configuration_adv.h
  27. 3
    2
      config/examples/Creality/Ender-4/Configuration_adv.h
  28. 3
    2
      config/examples/Einstart-S/Configuration_adv.h
  29. 3
    2
      config/examples/Felix/Configuration_adv.h
  30. 3
    2
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  31. 3
    2
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  32. 3
    2
      config/examples/Formbot/Raptor/Configuration_adv.h
  33. 3
    2
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  34. 3
    2
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  35. 3
    2
      config/examples/Geeetech/A10M/Configuration_adv.h
  36. 3
    2
      config/examples/Geeetech/A20M/Configuration_adv.h
  37. 3
    2
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  38. 3
    2
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  39. 3
    2
      config/examples/Infitary/i3-M508/Configuration_adv.h
  40. 3
    2
      config/examples/JGAurora/A5/Configuration_adv.h
  41. 3
    2
      config/examples/MakerParts/Configuration_adv.h
  42. 3
    2
      config/examples/Malyan/M150/Configuration_adv.h
  43. 3
    2
      config/examples/Malyan/M200/Configuration_adv.h
  44. 3
    2
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  45. 3
    2
      config/examples/Mks/Robin/Configuration_adv.h
  46. 3
    2
      config/examples/Mks/Sbase/Configuration_adv.h
  47. 3
    2
      config/examples/RapideLite/RL200/Configuration_adv.h
  48. 3
    2
      config/examples/RigidBot/Configuration_adv.h
  49. 3
    2
      config/examples/SCARA/Configuration_adv.h
  50. 3
    2
      config/examples/Sanguinololu/Configuration_adv.h
  51. 3
    2
      config/examples/TheBorg/Configuration_adv.h
  52. 3
    2
      config/examples/TinyBoy2/Configuration_adv.h
  53. 3
    2
      config/examples/Tronxy/X3A/Configuration_adv.h
  54. 3
    2
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  55. 3
    2
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  56. 3
    2
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  57. 3
    2
      config/examples/VORONDesign/Configuration_adv.h
  58. 3
    2
      config/examples/Velleman/K8200/Configuration_adv.h
  59. 3
    2
      config/examples/Velleman/K8400/Configuration_adv.h
  60. 3
    2
      config/examples/WASP/PowerWASP/Configuration_adv.h
  61. 3
    2
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  62. 3
    2
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  63. 3
    2
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  64. 3
    2
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  65. 3
    2
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  66. 3
    2
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  67. 3
    2
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  68. 3
    2
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  69. 3
    2
      config/examples/delta/generic/Configuration_adv.h
  70. 3
    2
      config/examples/delta/kossel_mini/Configuration_adv.h
  71. 3
    2
      config/examples/delta/kossel_xl/Configuration_adv.h
  72. 3
    2
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  73. 3
    2
      config/examples/makibox/Configuration_adv.h
  74. 3
    2
      config/examples/tvrrug/Round2/Configuration_adv.h
  75. 3
    2
      config/examples/wt150/Configuration_adv.h

+ 3
- 2
Marlin/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 93
- 23
Marlin/src/gcode/feature/advance/M900.cpp Visa fil

@@ -28,45 +28,115 @@
28 28
 #include "../../../module/planner.h"
29 29
 #include "../../../module/stepper.h"
30 30
 
31
+#if ENABLED(EXTRA_LIN_ADVANCE_K)
32
+  float saved_extruder_advance_K[EXTRUDERS];
33
+  uint8_t lin_adv_slot = 0;
34
+#endif
35
+
36
+
31 37
 /**
32 38
  * M900: Get or Set Linear Advance K-factor
33
- *
34
- *  K<factor>   Set advance K factor
39
+ *  T<tool>     Which tool to address
40
+ *  K<factor>   Set current advance K factor (Slot 0).
41
+ *  L<factor>   Set secondary advance K factor (Slot 1). Requires EXTRA_LIN_ADVANCE_K.
42
+ *  S<0/1>      Activate slot 0 or 1. Requires EXTRA_LIN_ADVANCE_K.
35 43
  */
36 44
 void GcodeSuite::M900() {
37 45
 
38 46
   #if EXTRUDERS < 2
39 47
     constexpr uint8_t tmp_extruder = 0;
40 48
   #else
41
-    const uint8_t tmp_extruder = parser.seenval('T') ? parser.value_int() : active_extruder;
49
+    const uint8_t tmp_extruder = parser.intval('T', active_extruder);
42 50
     if (tmp_extruder >= EXTRUDERS) {
43 51
       SERIAL_ECHOLNPGM("?T value out of range.");
44 52
       return;
45 53
     }
46 54
   #endif
47 55
 
48
-  if (parser.seenval('K')) {
49
-    const float newK = parser.floatval('K');
50
-    if (WITHIN(newK, 0, 10)) {
51
-      planner.synchronize();
52
-      planner.extruder_advance_K[tmp_extruder] = newK;
56
+  #if ENABLED(EXTRA_LIN_ADVANCE_K)
57
+
58
+    bool ext_slot = bitRead(lin_adv_slot, tmp_extruder);
59
+
60
+    if (parser.seenval('S')) {
61
+      const bool slot = parser.value_bool();
62
+      if (ext_slot != slot) {
63
+        ext_slot = slot;
64
+        bitWrite(lin_adv_slot, tmp_extruder, slot);
65
+        planner.synchronize();
66
+        const float temp = planner.extruder_advance_K[tmp_extruder];
67
+        planner.extruder_advance_K[tmp_extruder] = saved_extruder_advance_K[tmp_extruder];
68
+        saved_extruder_advance_K[tmp_extruder] = temp;
69
+      }
53 70
     }
54
-    else
55
-      SERIAL_ECHOLNPGM("?K value out of range (0-10).");
56
-  }
57
-  else {
58
-    SERIAL_ECHO_START();
59
-    #if EXTRUDERS < 2
60
-      SERIAL_ECHOLNPAIR("Advance K=", planner.extruder_advance_K[0]);
61
-    #else
62
-      SERIAL_ECHOPGM("Advance K");
63
-      LOOP_L_N(i, EXTRUDERS) {
64
-        SERIAL_CHAR(' '); SERIAL_ECHO(int(i));
65
-        SERIAL_CHAR('='); SERIAL_ECHO(planner.extruder_advance_K[i]);
71
+
72
+    if (parser.seenval('K')) {
73
+      const float newK = parser.value_float();
74
+      if (WITHIN(newK, 0, 10)) {
75
+        if (ext_slot)
76
+          saved_extruder_advance_K[tmp_extruder] = newK;
77
+        else {
78
+          planner.synchronize();
79
+          planner.extruder_advance_K[tmp_extruder] = newK;
80
+        }
66 81
       }
67
-      SERIAL_EOL();
68
-    #endif
69
-  }
82
+      else
83
+        SERIAL_ECHOLNPGM("?K value out of range (0-10).");
84
+    }
85
+
86
+    if (parser.seenval('L')) {
87
+      const float newL = parser.value_float();
88
+      if (WITHIN(newL, 0, 10)) {
89
+        if (!ext_slot)
90
+          saved_extruder_advance_K[tmp_extruder] = newL;
91
+        else {
92
+          planner.synchronize();
93
+          planner.extruder_advance_K[tmp_extruder] = newL;
94
+        }
95
+      }
96
+      else
97
+        SERIAL_ECHOLNPGM("?L value out of range (0-10).");
98
+    }
99
+
100
+    if (!parser.seen_any()) {
101
+      #if EXTRUDERS < 2
102
+        SERIAL_ECHOLNPAIR("Advance S", ext_slot, " K", planner.extruder_advance_K[0]);
103
+        SERIAL_ECHOLNPAIR("(Slot ", 1 - ext_slot, " K", saved_extruder_advance_K[0], ")");
104
+      #else
105
+        LOOP_L_N(i, EXTRUDERS) {
106
+          const int slot = (int)bitRead(lin_adv_slot, i);
107
+          SERIAL_ECHOLNPAIR("Advance T", int(i), " S", slot, " K", planner.extruder_advance_K[i]);
108
+          SERIAL_ECHOLNPAIR("(Slot ", 1 - slot, " K", saved_extruder_advance_K[i], ")");
109
+          SERIAL_EOL();
110
+        }
111
+      #endif
112
+    }
113
+
114
+  #else
115
+
116
+    if (parser.seenval('K')) {
117
+      const float newK = parser.value_float();
118
+      if (WITHIN(newK, 0, 10)) {
119
+        planner.synchronize();
120
+        planner.extruder_advance_K[tmp_extruder] = newK;
121
+      }
122
+      else
123
+        SERIAL_ECHOLNPGM("?K value out of range (0-10).");
124
+    }
125
+    else {
126
+      SERIAL_ECHO_START();
127
+      #if EXTRUDERS < 2
128
+        SERIAL_ECHOLNPAIR("Advance K=", planner.extruder_advance_K[0]);
129
+      #else
130
+        SERIAL_ECHOPGM("Advance K");
131
+        LOOP_L_N(i, EXTRUDERS) {
132
+          SERIAL_CHAR(' '); SERIAL_ECHO(int(i));
133
+          SERIAL_CHAR('='); SERIAL_ECHO(planner.extruder_advance_K[i]);
134
+        }
135
+        SERIAL_EOL();
136
+      #endif
137
+    }
138
+
139
+  #endif
70 140
 }
71 141
 
72 142
 #endif // LIN_ADVANCE

+ 10
- 1
Marlin/src/module/configuration_store.cpp Visa fil

@@ -86,6 +86,10 @@
86 86
 
87 87
 #include "../feature/pause.h"
88 88
 
89
+#if ENABLED(EXTRA_LIN_ADVANCE_K)
90
+extern float saved_extruder_advance_K[EXTRUDERS];
91
+#endif
92
+
89 93
 #if EXTRUDERS > 1
90 94
   #include "tool_change.h"
91 95
   void M217_report(const bool eeprom);
@@ -2233,7 +2237,12 @@ void MarlinSettings::reset() {
2233 2237
   //
2234 2238
 
2235 2239
   #if ENABLED(LIN_ADVANCE)
2236
-    LOOP_L_N(i, EXTRUDERS) planner.extruder_advance_K[i] = LIN_ADVANCE_K;
2240
+    LOOP_L_N(i, EXTRUDERS) {
2241
+      planner.extruder_advance_K[i] = LIN_ADVANCE_K;
2242
+    #if ENABLED(EXTRA_LIN_ADVANCE_K)
2243
+      saved_extruder_advance_K[i] = LIN_ADVANCE_K;
2244
+    #endif
2245
+    }
2237 2246
   #endif
2238 2247
 
2239 2248
   //

+ 3
- 2
config/default/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/AlephObjects/TAZ4/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/AliExpress/UM2pExt/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Anet/A2/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Anet/A2plus/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Anet/A6/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Anet/A8/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/AnyCubic/i3/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/ArmEd/Configuration_adv.h Visa fil

@@ -1036,8 +1036,9 @@
1036 1036
  */
1037 1037
 //#define LIN_ADVANCE
1038 1038
 #if ENABLED(LIN_ADVANCE)
1039
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1040
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1039
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1040
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1041
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1041 1042
 #endif
1042 1043
 
1043 1044
 // @section leveling

+ 3
- 2
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/BIBO/TouchX/default/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/BQ/Hephestos/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/BQ/Hephestos_2/Configuration_adv.h Visa fil

@@ -1037,8 +1037,9 @@
1037 1037
  */
1038 1038
 //#define LIN_ADVANCE
1039 1039
 #if ENABLED(LIN_ADVANCE)
1040
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1041
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1040
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1041
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1042
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1042 1043
 #endif
1043 1044
 
1044 1045
 // @section leveling

+ 3
- 2
config/examples/BQ/WITBOX/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/Cartesio/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/CR-10/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/CR-10S/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/CR-10_5S/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/CR-10mini/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/CR-8/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Creality/Ender-2/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/Creality/Ender-3/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/Creality/Ender-4/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Einstart-S/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Felix/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/FlashForge/CreatorPro/Configuration_adv.h Visa fil

@@ -1028,8 +1028,9 @@
1028 1028
  */
1029 1029
 //#define LIN_ADVANCE
1030 1030
 #if ENABLED(LIN_ADVANCE)
1031
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1032
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1031
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1032
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1033
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1033 1034
 #endif
1034 1035
 
1035 1036
 // @section leveling

+ 3
- 2
config/examples/FolgerTech/i3-2020/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Formbot/Raptor/Configuration_adv.h Visa fil

@@ -1034,8 +1034,9 @@
1034 1034
   #define LIN_ADVANCE
1035 1035
 #endif
1036 1036
 #if ENABLED(LIN_ADVANCE)
1037
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1038
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1037
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1038
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1039
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1039 1040
 #endif
1040 1041
 
1041 1042
 // @section leveling

+ 3
- 2
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Visa fil

@@ -1036,8 +1036,9 @@
1036 1036
  */
1037 1037
 //#define LIN_ADVANCE
1038 1038
 #if ENABLED(LIN_ADVANCE)
1039
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1040
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1039
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1040
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1041
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1041 1042
 #endif
1042 1043
 
1043 1044
 // @section leveling

+ 3
- 2
config/examples/Formbot/T_Rex_3/Configuration_adv.h Visa fil

@@ -1036,8 +1036,9 @@
1036 1036
  */
1037 1037
 //#define LIN_ADVANCE
1038 1038
 #if ENABLED(LIN_ADVANCE)
1039
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1040
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1039
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1040
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1041
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1041 1042
 #endif
1042 1043
 
1043 1044
 // @section leveling

+ 3
- 2
config/examples/Geeetech/A10M/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Geeetech/A20M/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 #define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 #define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Infitary/i3-M508/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/JGAurora/A5/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/MakerParts/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Malyan/M150/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Malyan/M200/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Micromake/C1/enhanced/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Mks/Robin/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Mks/Sbase/Configuration_adv.h Visa fil

@@ -1033,8 +1033,9 @@
1033 1033
  */
1034 1034
 //#define LIN_ADVANCE
1035 1035
 #if ENABLED(LIN_ADVANCE)
1036
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1037
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1036
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1037
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1038
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1038 1039
 #endif
1039 1040
 
1040 1041
 // @section leveling

+ 3
- 2
config/examples/RapideLite/RL200/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/RigidBot/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/SCARA/Configuration_adv.h Visa fil

@@ -1029,8 +1029,9 @@
1029 1029
  */
1030 1030
 //#define LIN_ADVANCE
1031 1031
 #if ENABLED(LIN_ADVANCE)
1032
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1033
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1032
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1033
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1034
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1034 1035
 #endif
1035 1036
 
1036 1037
 // @section leveling

+ 3
- 2
config/examples/Sanguinololu/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/TheBorg/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/TinyBoy2/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Tronxy/X3A/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Tronxy/X5S-2E/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/UltiMachine/Archim1/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/UltiMachine/Archim2/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/VORONDesign/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Velleman/K8200/Configuration_adv.h Visa fil

@@ -1045,8 +1045,9 @@
1045 1045
  */
1046 1046
 //#define LIN_ADVANCE
1047 1047
 #if ENABLED(LIN_ADVANCE)
1048
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1049
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1048
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1049
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1050
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1050 1051
 #endif
1051 1052
 
1052 1053
 // @section leveling

+ 3
- 2
config/examples/Velleman/K8400/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/WASP/PowerWASP/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 #define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0     // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.00    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/FLSUN/kossel/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/MKS/SBASE/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/Tevo Little Monster/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/generic/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/delta/kossel_mini/Configuration_adv.h Visa fil

@@ -1030,8 +1030,9 @@
1030 1030
  */
1031 1031
 //#define LIN_ADVANCE
1032 1032
 #if ENABLED(LIN_ADVANCE)
1033
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1034
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1033
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1034
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1035
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1035 1036
 #endif
1036 1037
 
1037 1038
 // @section leveling

+ 3
- 2
config/examples/delta/kossel_xl/Configuration_adv.h Visa fil

@@ -1031,8 +1031,9 @@
1031 1031
  */
1032 1032
 //#define LIN_ADVANCE
1033 1033
 #if ENABLED(LIN_ADVANCE)
1034
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1035
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1034
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1035
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1036
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1036 1037
 #endif
1037 1038
 
1038 1039
 // @section leveling

+ 3
- 2
config/examples/gCreate/gMax1.5+/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/makibox/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/tvrrug/Round2/Configuration_adv.h Visa fil

@@ -1032,8 +1032,9 @@
1032 1032
  */
1033 1033
 //#define LIN_ADVANCE
1034 1034
 #if ENABLED(LIN_ADVANCE)
1035
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1036
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1035
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1036
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1037
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1037 1038
 #endif
1038 1039
 
1039 1040
 // @section leveling

+ 3
- 2
config/examples/wt150/Configuration_adv.h Visa fil

@@ -1033,8 +1033,9 @@
1033 1033
  */
1034 1034
 //#define LIN_ADVANCE
1035 1035
 #if ENABLED(LIN_ADVANCE)
1036
-  #define LIN_ADVANCE_K 0.22  // Unit: mm compression per 1mm/s extruder speed
1037
-  //#define LA_DEBUG          // If enabled, this will generate debug information output over USB.
1036
+  //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1037
+  #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1038
+  //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1038 1039
 #endif
1039 1040
 
1040 1041
 // @section leveling

Laddar…
Avbryt
Spara