Merge tag debug_G29 (PR#54)
This commit is contained in:
commit
109628a77e
|
@ -279,7 +279,7 @@
|
||||||
/**
|
/**
|
||||||
* Auto Bed Leveling
|
* Auto Bed Leveling
|
||||||
*/
|
*/
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
// Boundaries for probing based on set limits
|
// Boundaries for probing based on set limits
|
||||||
#define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
|
#define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
|
||||||
#define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
|
#define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
#define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
|
#define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SERVO_LEVELING (defined(ENABLE_AUTO_BED_LEVELING) && defined(Z_ENDSTOP_SERVO_NR))
|
#define SERVO_LEVELING (defined(AUTO_BED_LEVELING_FEATURE) && defined(Z_ENDSTOP_SERVO_NR))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sled Options
|
* Sled Options
|
||||||
|
|
|
@ -442,10 +442,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -509,8 +510,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
|
//#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
|
||||||
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
|
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
|
||||||
|
|
||||||
// If you have enabled the bed auto leveling and are using the same Z probe for Z homing,
|
|
||||||
// it is highly recommended you let this Z_SAFE_HOMING enabled!!!
|
//If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
|
||||||
|
//it is highly recommended you let this Z_SAFE_HOMING enabled!!!
|
||||||
|
|
||||||
#define Z_SAFE_HOMING // This feature is meant to avoid Z homing with Z probe outside the bed area.
|
#define Z_SAFE_HOMING // This feature is meant to avoid Z homing with Z probe outside the bed area.
|
||||||
// When defined, it will:
|
// When defined, it will:
|
||||||
|
@ -557,7 +559,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -608,7 +610,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -221,7 +221,8 @@ enum DebugFlags {
|
||||||
DEBUG_INFO = BIT(1),
|
DEBUG_INFO = BIT(1),
|
||||||
DEBUG_ERRORS = BIT(2),
|
DEBUG_ERRORS = BIT(2),
|
||||||
DEBUG_DRYRUN = BIT(3),
|
DEBUG_DRYRUN = BIT(3),
|
||||||
DEBUG_COMMUNICATION = BIT(4)
|
DEBUG_COMMUNICATION = BIT(4),
|
||||||
|
DEBUG_LEVELING = BIT(5)
|
||||||
};
|
};
|
||||||
extern uint8_t marlin_debug_flags;
|
extern uint8_t marlin_debug_flags;
|
||||||
|
|
||||||
|
@ -268,7 +269,7 @@ extern bool axis_known_position[3]; // axis[n].is_known
|
||||||
extern float delta_diagonal_rod;
|
extern float delta_diagonal_rod;
|
||||||
extern float delta_segments_per_second;
|
extern float delta_segments_per_second;
|
||||||
void recalc_delta_settings(float radius, float diagonal_rod);
|
void recalc_delta_settings(float radius, float diagonal_rod);
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
extern int delta_grid_spacing[2];
|
extern int delta_grid_spacing[2];
|
||||||
void adjust_delta(float cartesian[3]);
|
void adjust_delta(float cartesian[3]);
|
||||||
#endif
|
#endif
|
||||||
|
@ -282,7 +283,7 @@ extern bool axis_known_position[3]; // axis[n].is_known
|
||||||
extern float z_endstop_adj;
|
extern float z_endstop_adj;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
extern float zprobe_zoffset;
|
extern float zprobe_zoffset;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -116,8 +116,8 @@
|
||||||
#if ENABLED(DELTA)
|
#if ENABLED(DELTA)
|
||||||
#error MESH_BED_LEVELING does not yet support DELTA printers.
|
#error MESH_BED_LEVELING does not yet support DELTA printers.
|
||||||
#endif
|
#endif
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#error Select ENABLE_AUTO_BED_LEVELING or MESH_BED_LEVELING, not both.
|
#error Select AUTO_BED_LEVELING_FEATURE or MESH_BED_LEVELING, not both.
|
||||||
#endif
|
#endif
|
||||||
#if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
|
#if MESH_NUM_X_POINTS > 7 || MESH_NUM_Y_POINTS > 7
|
||||||
#error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
|
#error MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS need to be less than 8.
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
/**
|
/**
|
||||||
* Auto Bed Leveling
|
* Auto Bed Leveling
|
||||||
*/
|
*/
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Require a Z min pin
|
* Require a Z min pin
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
|
#if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
|
||||||
#error You must have a Z min or Z probe endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST.
|
#error You must have a Z min or Z probe endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST.
|
||||||
#else
|
#else
|
||||||
#error ENABLE_AUTO_BED_LEVELING requires a Z min or Z probe endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin.
|
#error AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin.
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
|
|
||||||
#endif // !AUTO_BED_LEVELING_GRID
|
#endif // !AUTO_BED_LEVELING_GRID
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ULTIPANEL encoder
|
* ULTIPANEL encoder
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
*/
|
*/
|
||||||
#if ENABLED(DELTA)
|
#if ENABLED(DELTA)
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
#if DISABLED(AUTO_BED_LEVELING_GRID)
|
#if DISABLED(AUTO_BED_LEVELING_GRID)
|
||||||
#error Only AUTO_BED_LEVELING_GRID is supported with DELTA.
|
#error Only AUTO_BED_LEVELING_GRID is supported with DELTA.
|
||||||
|
@ -362,6 +362,8 @@
|
||||||
#error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
|
#error CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration.
|
||||||
#elif defined(HAS_AUTOMATIC_VERSIONING)
|
#elif defined(HAS_AUTOMATIC_VERSIONING)
|
||||||
#error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
|
#error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
|
||||||
|
#elif defined(ENABLE_AUTO_BED_LEVELING)
|
||||||
|
#error ENABLE_AUTO_BED_LEVELING deprecated - use AUTO_BED_LEVELING_FEATURE instead
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //SANITYCHECK_H
|
#endif //SANITYCHECK_H
|
||||||
|
|
|
@ -171,7 +171,7 @@ void Config_StoreSettings() {
|
||||||
for (uint8_t q=0; q<mesh_num_x*mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
|
for (uint8_t q=0; q<mesh_num_x*mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
|
||||||
#endif // MESH_BED_LEVELING
|
#endif // MESH_BED_LEVELING
|
||||||
|
|
||||||
#if DISABLED(ENABLE_AUTO_BED_LEVELING)
|
#if DISABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
float zprobe_zoffset = 0;
|
float zprobe_zoffset = 0;
|
||||||
#endif
|
#endif
|
||||||
EEPROM_WRITE_VAR(i, zprobe_zoffset);
|
EEPROM_WRITE_VAR(i, zprobe_zoffset);
|
||||||
|
@ -339,7 +339,7 @@ void Config_RetrieveSettings() {
|
||||||
for (int q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_READ_VAR(i, dummy);
|
for (int q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_READ_VAR(i, dummy);
|
||||||
#endif // MESH_BED_LEVELING
|
#endif // MESH_BED_LEVELING
|
||||||
|
|
||||||
#if DISABLED(ENABLE_AUTO_BED_LEVELING)
|
#if DISABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
float zprobe_zoffset = 0;
|
float zprobe_zoffset = 0;
|
||||||
#endif
|
#endif
|
||||||
EEPROM_READ_VAR(i, zprobe_zoffset);
|
EEPROM_READ_VAR(i, zprobe_zoffset);
|
||||||
|
@ -498,7 +498,7 @@ void Config_ResetDefault() {
|
||||||
mbl.active = 0;
|
mbl.active = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
|
zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -857,7 +857,7 @@ void Config_PrintSettings(bool forReplay) {
|
||||||
/**
|
/**
|
||||||
* Auto Bed Leveling
|
* Auto Bed Leveling
|
||||||
*/
|
*/
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
if (!forReplay) {
|
if (!forReplay) {
|
||||||
CONFIG_ECHO_START;
|
CONFIG_ECHO_START;
|
||||||
|
|
|
@ -442,10 +442,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -557,7 +558,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -608,7 +609,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -424,10 +424,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -539,7 +540,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -591,7 +592,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -394,10 +394,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -509,7 +511,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// The position of the homing switches
|
// The position of the homing switches
|
||||||
|
@ -561,7 +563,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -434,10 +434,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -549,7 +551,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -600,7 +602,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -430,10 +430,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -545,7 +546,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -596,7 +597,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -442,10 +442,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -557,7 +559,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -608,7 +610,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -428,10 +428,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -543,7 +544,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -595,7 +596,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -450,10 +450,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -565,7 +566,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -616,7 +617,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
//#define CUSTOM_M_CODES
|
//#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -434,10 +434,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -549,7 +550,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -600,7 +601,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -442,10 +442,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -557,7 +559,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -608,7 +610,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -477,10 +477,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z probe repeatability test is not supported in Deltas yet.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -677,7 +678,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -728,7 +729,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -477,10 +477,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z probe repeatability test is not supported in Deltas yet.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations.
|
// There are 2 different ways to specify probing locations.
|
||||||
//
|
//
|
||||||
|
@ -677,7 +679,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -728,7 +730,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -477,10 +477,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // Z probe repeatability test is not supported in Deltas yet.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -681,7 +683,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -732,7 +734,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -464,10 +464,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -666,7 +668,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -727,7 +729,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -15
|
#define Z_PROBE_OFFSET_RANGE_MIN -15
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX -5
|
#define Z_PROBE_OFFSET_RANGE_MAX -5
|
||||||
|
|
|
@ -445,10 +445,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -560,7 +561,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -611,7 +612,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -432,10 +432,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
|
|
||||||
// @section bedlevel
|
// @section bedlevel
|
||||||
|
|
||||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
|
||||||
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||||
|
//#define DEBUG_LEVELING_FEATURE
|
||||||
|
#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
|
|
||||||
// There are 2 different ways to specify probing locations:
|
// There are 2 different ways to specify probing locations:
|
||||||
//
|
//
|
||||||
|
@ -547,7 +549,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
//
|
//
|
||||||
//#define Z_MIN_PROBE_ENDSTOP
|
//#define Z_MIN_PROBE_ENDSTOP
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
||||||
// @section homing
|
// @section homing
|
||||||
|
@ -602,7 +604,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
||||||
// Custom M code points
|
// Custom M code points
|
||||||
#define CUSTOM_M_CODES
|
#define CUSTOM_M_CODES
|
||||||
#if ENABLED(CUSTOM_M_CODES)
|
#if ENABLED(CUSTOM_M_CODES)
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||||
|
|
|
@ -214,6 +214,7 @@
|
||||||
#define MSG_DEBUG_INFO "DEBUG INFO ENABLED"
|
#define MSG_DEBUG_INFO "DEBUG INFO ENABLED"
|
||||||
#define MSG_DEBUG_ERRORS "DEBUG ERRORS ENABLED"
|
#define MSG_DEBUG_ERRORS "DEBUG ERRORS ENABLED"
|
||||||
#define MSG_DEBUG_DRYRUN "DEBUG DRYRUN ENABLED"
|
#define MSG_DEBUG_DRYRUN "DEBUG DRYRUN ENABLED"
|
||||||
|
#define MSG_DEBUG_LEVELING "DEBUG LEVELING ENABLED"
|
||||||
|
|
||||||
// LCD Menu Messages
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
|
|
@ -77,14 +77,14 @@ float max_e_jerk;
|
||||||
float mintravelfeedrate;
|
float mintravelfeedrate;
|
||||||
unsigned long axis_steps_per_sqr_second[NUM_AXIS];
|
unsigned long axis_steps_per_sqr_second[NUM_AXIS];
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
// Transform required to compensate for bed level
|
// Transform required to compensate for bed level
|
||||||
matrix_3x3 plan_bed_level_matrix = {
|
matrix_3x3 plan_bed_level_matrix = {
|
||||||
1.0, 0.0, 0.0,
|
1.0, 0.0, 0.0,
|
||||||
0.0, 1.0, 0.0,
|
0.0, 1.0, 0.0,
|
||||||
0.0, 0.0, 1.0
|
0.0, 0.0, 1.0
|
||||||
};
|
};
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
#if ENABLED(AUTOTEMP)
|
#if ENABLED(AUTOTEMP)
|
||||||
float autotemp_max = 250;
|
float autotemp_max = 250;
|
||||||
|
@ -474,11 +474,11 @@ float junction_deviation = 0.1;
|
||||||
// Add a new linear movement to the buffer. steps[X_AXIS], _y and _z is the absolute position in
|
// Add a new linear movement to the buffer. steps[X_AXIS], _y and _z is the absolute position in
|
||||||
// mm. Microseconds specify how many microseconds the move should take to perform. To aid acceleration
|
// mm. Microseconds specify how many microseconds the move should take to perform. To aid acceleration
|
||||||
// calculation the caller must also provide the physical length of the line in millimeters.
|
// calculation the caller must also provide the physical length of the line in millimeters.
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING) || ENABLED(MESH_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE) || ENABLED(MESH_BED_LEVELING)
|
||||||
void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate, const uint8_t extruder)
|
void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate, const uint8_t extruder)
|
||||||
#else
|
#else
|
||||||
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t extruder)
|
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t extruder)
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
{
|
{
|
||||||
// Calculate the buffer head after we push this byte
|
// Calculate the buffer head after we push this byte
|
||||||
int next_buffer_head = next_block_index(block_buffer_head);
|
int next_buffer_head = next_block_index(block_buffer_head);
|
||||||
|
@ -489,7 +489,7 @@ float junction_deviation = 0.1;
|
||||||
|
|
||||||
#if ENABLED(MESH_BED_LEVELING)
|
#if ENABLED(MESH_BED_LEVELING)
|
||||||
if (mbl.active) z += mbl.get_z(x, y);
|
if (mbl.active) z += mbl.get_z(x, y);
|
||||||
#elif ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#elif ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
apply_rotation_xyz(plan_bed_level_matrix, x, y, z);
|
apply_rotation_xyz(plan_bed_level_matrix, x, y, z);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -993,7 +993,7 @@ float junction_deviation = 0.1;
|
||||||
|
|
||||||
} // plan_buffer_line()
|
} // plan_buffer_line()
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING) && DISABLED(DELTA)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE) && DISABLED(DELTA)
|
||||||
vector_3 plan_get_position() {
|
vector_3 plan_get_position() {
|
||||||
vector_3 position = vector_3(st_get_position_mm(X_AXIS), st_get_position_mm(Y_AXIS), st_get_position_mm(Z_AXIS));
|
vector_3 position = vector_3(st_get_position_mm(X_AXIS), st_get_position_mm(Y_AXIS), st_get_position_mm(Z_AXIS));
|
||||||
|
|
||||||
|
@ -1006,17 +1006,17 @@ float junction_deviation = 0.1;
|
||||||
|
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING && !DELTA
|
#endif // AUTO_BED_LEVELING_FEATURE && !DELTA
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING) || ENABLED(MESH_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE) || ENABLED(MESH_BED_LEVELING)
|
||||||
void plan_set_position(float x, float y, float z, const float &e)
|
void plan_set_position(float x, float y, float z, const float &e)
|
||||||
#else
|
#else
|
||||||
void plan_set_position(const float &x, const float &y, const float &z, const float &e)
|
void plan_set_position(const float &x, const float &y, const float &z, const float &e)
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING || MESH_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE || MESH_BED_LEVELING
|
||||||
{
|
{
|
||||||
#if ENABLED(MESH_BED_LEVELING)
|
#if ENABLED(MESH_BED_LEVELING)
|
||||||
if (mbl.active) z += mbl.get_z(x, y);
|
if (mbl.active) z += mbl.get_z(x, y);
|
||||||
#elif ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#elif ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
apply_rotation_xyz(plan_bed_level_matrix, x, y, z);
|
apply_rotation_xyz(plan_bed_level_matrix, x, y, z);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -79,9 +79,9 @@ extern volatile unsigned char block_buffer_head;
|
||||||
extern volatile unsigned char block_buffer_tail;
|
extern volatile unsigned char block_buffer_tail;
|
||||||
FORCE_INLINE uint8_t movesplanned() { return BLOCK_MOD(block_buffer_head - block_buffer_tail + BLOCK_BUFFER_SIZE); }
|
FORCE_INLINE uint8_t movesplanned() { return BLOCK_MOD(block_buffer_head - block_buffer_tail + BLOCK_BUFFER_SIZE); }
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING) || ENABLED(MESH_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE) || ENABLED(MESH_BED_LEVELING)
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#include "vector_3.h"
|
#include "vector_3.h"
|
||||||
|
|
||||||
// Transform required to compensate for bed level
|
// Transform required to compensate for bed level
|
||||||
|
@ -91,7 +91,7 @@ FORCE_INLINE uint8_t movesplanned() { return BLOCK_MOD(block_buffer_head - block
|
||||||
* Get the position applying the bed level matrix
|
* Get the position applying the bed level matrix
|
||||||
*/
|
*/
|
||||||
vector_3 plan_get_position();
|
vector_3 plan_get_position();
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a new linear movement to the buffer. x, y, z are the signed, absolute target position in
|
* Add a new linear movement to the buffer. x, y, z are the signed, absolute target position in
|
||||||
|
@ -111,7 +111,7 @@ FORCE_INLINE uint8_t movesplanned() { return BLOCK_MOD(block_buffer_head - block
|
||||||
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t extruder);
|
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t extruder);
|
||||||
void plan_set_position(const float &x, const float &y, const float &z, const float &e);
|
void plan_set_position(const float &x, const float &y, const float &z, const float &e);
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING || MESH_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE || MESH_BED_LEVELING
|
||||||
|
|
||||||
void plan_set_e_position(const float &e);
|
void plan_set_e_position(const float &e);
|
||||||
|
|
||||||
|
|
|
@ -638,7 +638,7 @@ static void lcd_prepare_menu() {
|
||||||
//
|
//
|
||||||
// Level Bed
|
// Level Bed
|
||||||
//
|
//
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS])
|
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS])
|
||||||
MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G29"));
|
MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G29"));
|
||||||
#elif ENABLED(MANUAL_BED_LEVELING)
|
#elif ENABLED(MANUAL_BED_LEVELING)
|
||||||
|
@ -1041,7 +1041,7 @@ static void lcd_control_temperature_preheat_abs_settings_menu() {
|
||||||
static void lcd_control_motion_menu() {
|
static void lcd_control_motion_menu() {
|
||||||
START_MENU();
|
START_MENU();
|
||||||
MENU_ITEM(back, MSG_CONTROL, lcd_control_menu);
|
MENU_ITEM(back, MSG_CONTROL, lcd_control_menu);
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
||||||
#endif
|
#endif
|
||||||
MENU_ITEM_EDIT(float5, MSG_ACC, &acceleration, 10, 99000);
|
MENU_ITEM_EDIT(float5, MSG_ACC, &acceleration, 10, 99000);
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "Marlin.h"
|
#include "Marlin.h"
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
#include "vector_3.h"
|
#include "vector_3.h"
|
||||||
|
|
||||||
vector_3::vector_3() : x(0), y(0), z(0) { }
|
vector_3::vector_3() : x(0), y(0), z(0) { }
|
||||||
|
@ -134,5 +134,5 @@ void matrix_3x3::debug(const char title[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef VECTOR_3_H
|
#ifndef VECTOR_3_H
|
||||||
#define VECTOR_3_H
|
#define VECTOR_3_H
|
||||||
|
|
||||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||||
class matrix_3x3;
|
class matrix_3x3;
|
||||||
|
|
||||||
struct vector_3
|
struct vector_3
|
||||||
|
@ -57,6 +57,6 @@ struct matrix_3x3
|
||||||
|
|
||||||
|
|
||||||
void apply_rotation_xyz(matrix_3x3 rotationMatrix, float &x, float& y, float& z);
|
void apply_rotation_xyz(matrix_3x3 rotationMatrix, float &x, float& y, float& z);
|
||||||
#endif // ENABLE_AUTO_BED_LEVELING
|
#endif // AUTO_BED_LEVELING_FEATURE
|
||||||
|
|
||||||
#endif // VECTOR_3_H
|
#endif // VECTOR_3_H
|
||||||
|
|
Loading…
Reference in a new issue