Browse Source

Add a warning on LA + S-Curve

Scott Lahteine 5 years ago
parent
commit
c3946dd017
2 changed files with 4 additions and 0 deletions
  1. 1
    0
      Marlin/Configuration_adv.h
  2. 3
    0
      Marlin/src/inc/SanityCheck.h

+ 1
- 0
Marlin/Configuration_adv.h View File

@@ -1542,6 +1542,7 @@
1542 1542
   //#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
1543 1543
   #define LIN_ADVANCE_K 0.22    // Unit: mm compression per 1mm/s extruder speed
1544 1544
   //#define LA_DEBUG            // If enabled, this will generate debug information output over USB.
1545
+  //#define EXPERIMENTAL_SCURVE // Enable this option to permit S-Curve Acceleration
1545 1546
 #endif
1546 1547
 
1547 1548
 // @section leveling

+ 3
- 0
Marlin/src/inc/SanityCheck.h View File

@@ -964,6 +964,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
964 964
     WITHIN(LIN_ADVANCE_K, 0, 10),
965 965
     "LIN_ADVANCE_K must be a value from 0 to 10 (Changed in LIN_ADVANCE v1.5, Marlin 1.1.9)."
966 966
   );
967
+  #if ENABLED(S_CURVE_ACCELERATION) && DISABLED(EXPERIMENTAL_SCURVE)
968
+    #error "LIN_ADVANCE and S_CURVE_ACCELERATION may not play well together! Enable EXPERIMENTAL_SCURVE to continue."
969
+  #endif
967 970
 #endif
968 971
 
969 972
 /**

Loading…
Cancel
Save