Add extra Linear Advance factors (#13490)

This commit is contained in:
Sam Lane 2019-03-26 09:02:27 +00:00 committed by Scott Lahteine
parent ffc2c2d7c5
commit e3ab54753b
75 changed files with 323 additions and 171 deletions

View file

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

View file

@ -28,45 +28,115 @@
#include "../../../module/planner.h" #include "../../../module/planner.h"
#include "../../../module/stepper.h" #include "../../../module/stepper.h"
#if ENABLED(EXTRA_LIN_ADVANCE_K)
float saved_extruder_advance_K[EXTRUDERS];
uint8_t lin_adv_slot = 0;
#endif
/** /**
* M900: Get or Set Linear Advance K-factor * M900: Get or Set Linear Advance K-factor
* * T<tool> Which tool to address
* K<factor> Set advance K factor * K<factor> Set current advance K factor (Slot 0).
* L<factor> Set secondary advance K factor (Slot 1). Requires EXTRA_LIN_ADVANCE_K.
* S<0/1> Activate slot 0 or 1. Requires EXTRA_LIN_ADVANCE_K.
*/ */
void GcodeSuite::M900() { void GcodeSuite::M900() {
#if EXTRUDERS < 2 #if EXTRUDERS < 2
constexpr uint8_t tmp_extruder = 0; constexpr uint8_t tmp_extruder = 0;
#else #else
const uint8_t tmp_extruder = parser.seenval('T') ? parser.value_int() : active_extruder; const uint8_t tmp_extruder = parser.intval('T', active_extruder);
if (tmp_extruder >= EXTRUDERS) { if (tmp_extruder >= EXTRUDERS) {
SERIAL_ECHOLNPGM("?T value out of range."); SERIAL_ECHOLNPGM("?T value out of range.");
return; return;
} }
#endif #endif
if (parser.seenval('K')) { #if ENABLED(EXTRA_LIN_ADVANCE_K)
const float newK = parser.floatval('K');
if (WITHIN(newK, 0, 10)) { bool ext_slot = bitRead(lin_adv_slot, tmp_extruder);
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newK; if (parser.seenval('S')) {
} const bool slot = parser.value_bool();
else if (ext_slot != slot) {
SERIAL_ECHOLNPGM("?K value out of range (0-10)."); ext_slot = slot;
} bitWrite(lin_adv_slot, tmp_extruder, slot);
else { planner.synchronize();
SERIAL_ECHO_START(); const float temp = planner.extruder_advance_K[tmp_extruder];
#if EXTRUDERS < 2 planner.extruder_advance_K[tmp_extruder] = saved_extruder_advance_K[tmp_extruder];
SERIAL_ECHOLNPAIR("Advance K=", planner.extruder_advance_K[0]); saved_extruder_advance_K[tmp_extruder] = temp;
#else
SERIAL_ECHOPGM("Advance K");
LOOP_L_N(i, EXTRUDERS) {
SERIAL_CHAR(' '); SERIAL_ECHO(int(i));
SERIAL_CHAR('='); SERIAL_ECHO(planner.extruder_advance_K[i]);
} }
SERIAL_EOL(); }
#endif
} if (parser.seenval('K')) {
const float newK = parser.value_float();
if (WITHIN(newK, 0, 10)) {
if (ext_slot)
saved_extruder_advance_K[tmp_extruder] = newK;
else {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newK;
}
}
else
SERIAL_ECHOLNPGM("?K value out of range (0-10).");
}
if (parser.seenval('L')) {
const float newL = parser.value_float();
if (WITHIN(newL, 0, 10)) {
if (!ext_slot)
saved_extruder_advance_K[tmp_extruder] = newL;
else {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newL;
}
}
else
SERIAL_ECHOLNPGM("?L value out of range (0-10).");
}
if (!parser.seen_any()) {
#if EXTRUDERS < 2
SERIAL_ECHOLNPAIR("Advance S", ext_slot, " K", planner.extruder_advance_K[0]);
SERIAL_ECHOLNPAIR("(Slot ", 1 - ext_slot, " K", saved_extruder_advance_K[0], ")");
#else
LOOP_L_N(i, EXTRUDERS) {
const int slot = (int)bitRead(lin_adv_slot, i);
SERIAL_ECHOLNPAIR("Advance T", int(i), " S", slot, " K", planner.extruder_advance_K[i]);
SERIAL_ECHOLNPAIR("(Slot ", 1 - slot, " K", saved_extruder_advance_K[i], ")");
SERIAL_EOL();
}
#endif
}
#else
if (parser.seenval('K')) {
const float newK = parser.value_float();
if (WITHIN(newK, 0, 10)) {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newK;
}
else
SERIAL_ECHOLNPGM("?K value out of range (0-10).");
}
else {
SERIAL_ECHO_START();
#if EXTRUDERS < 2
SERIAL_ECHOLNPAIR("Advance K=", planner.extruder_advance_K[0]);
#else
SERIAL_ECHOPGM("Advance K");
LOOP_L_N(i, EXTRUDERS) {
SERIAL_CHAR(' '); SERIAL_ECHO(int(i));
SERIAL_CHAR('='); SERIAL_ECHO(planner.extruder_advance_K[i]);
}
SERIAL_EOL();
#endif
}
#endif
} }
#endif // LIN_ADVANCE #endif // LIN_ADVANCE

View file

@ -86,6 +86,10 @@
#include "../feature/pause.h" #include "../feature/pause.h"
#if ENABLED(EXTRA_LIN_ADVANCE_K)
extern float saved_extruder_advance_K[EXTRUDERS];
#endif
#if EXTRUDERS > 1 #if EXTRUDERS > 1
#include "tool_change.h" #include "tool_change.h"
void M217_report(const bool eeprom); void M217_report(const bool eeprom);
@ -2233,7 +2237,12 @@ void MarlinSettings::reset() {
// //
#if ENABLED(LIN_ADVANCE) #if ENABLED(LIN_ADVANCE)
LOOP_L_N(i, EXTRUDERS) planner.extruder_advance_K[i] = LIN_ADVANCE_K; LOOP_L_N(i, EXTRUDERS) {
planner.extruder_advance_K[i] = LIN_ADVANCE_K;
#if ENABLED(EXTRA_LIN_ADVANCE_K)
saved_extruder_advance_K[i] = LIN_ADVANCE_K;
#endif
}
#endif #endif
// //

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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