Add sanity checks to Linear Advance 1.5 (#9873)
This commit is contained in:
@ -554,6 +554,16 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Linear Advance 1.5 - Check K value range
|
||||
*/
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
static_assert(
|
||||
WITHIN(LIN_ADVANCE_K, 0, 10),
|
||||
"LIN_ADVANCE_K must be a value from 0 to 10 (Changed in LIN_ADVANCE v1.5, Marlin 1.1.9)."
|
||||
);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Parking Extruder requirements
|
||||
*/
|
||||
|
Reference in New Issue
Block a user