Cleanups for leveling-related code
This commit is contained in:
1 parent
cc2bc67440
commit
44fa7fb18c
9 files changed
+30
-40
No files matched your search
@@ -105,12 +105,6 @@ void GcodeSuite::M420() {
|
||||
|
||||
#if HAS_MESH
|
||||
|
||||
#if ENABLED(MESH_BED_LEVELING)
|
||||
#define Z_VALUES(X,Y) mbl.z_values[X][Y]
|
||||
#else
|
||||
#define Z_VALUES(X,Y) z_values[X][Y]
|
||||
#endif
|
||||
|
||||
// Subtract the given value or the mean from all mesh values
|
||||
if (leveling_is_valid() && parser.seen('C')) {
|
||||
const float cval = parser.value_float();
|
||||
|
||||
Reference in new issue
Block a user