Consolidate "bedlevel" code

This commit is contained in:
Scott Lahteine
2017-09-08 15:35:25 -05:00
parent 71aefc2e22
commit 551752eac7
45 changed files with 3525 additions and 3851 deletions

View File

@ -34,6 +34,12 @@
#include "../Marlin.h"
#include "motion.h"
#if ENABLED(DELTA)
#include "delta.h"
#endif
#if HAS_ABL
#include "../libs/vector_3.h"
#endif
@ -159,7 +165,7 @@ class Planner {
max_jerk[XYZE], // The largest speed change requiring no acceleration
min_travel_feedrate_mm_s;
#if HAS_ABL
#if OLDSCHOOL_ABL
static bool abl_enabled; // Flag that bed leveling is enabled
#if ABL_PLANAR
static matrix_3x3 bed_level_matrix; // Transform to compensate for bed level