Consolidate "bedlevel" code

This commit is contained in:
Scott Lahteine committed 2017-09-21 16:26:47 -05:00
1 parent 71aefc2e22
commit 551752eac7
45 files changed
+3525 -3851

No files matched your search

+7 -1
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