Putting location comments and enabling the M48 test

This commit is contained in:
Brian Kahl 2021-09-09 14:13:50 -05:00
parent 2c4c0eac35
commit 71b7ce010e
2 changed files with 5 additions and 4 deletions

View File

@ -1647,7 +1647,7 @@
#define Z_PROBE_OFFSET_RANGE_MAX 5 #define Z_PROBE_OFFSET_RANGE_MAX 5
// Enable the M48 repeatability test to test probe accuracy // Enable the M48 repeatability test to test probe accuracy
#if ENABLED(LULZBOT_BLTouch) #if DISABLED(TAZPro, TAZProXT)
#define Z_MIN_PROBE_REPEATABILITY_TEST #define Z_MIN_PROBE_REPEATABILITY_TEST
#endif #endif

View File

@ -72,8 +72,9 @@ void GcodeSuite::M48() {
const ProbePtRaise raise_after = parser.boolval('E') ? PROBE_PT_STOW : PROBE_PT_RAISE; const ProbePtRaise raise_after = parser.boolval('E') ? PROBE_PT_STOW : PROBE_PT_RAISE;
//seting location of above the front left washer of it uses nozzle as probe
#if ANY(Sidekick_289, Sidekick_747) #if ANY(Sidekick_289, Sidekick_747)
#define PROBE_OFFSET_XY_POS { X_CENTER, Y_CENTER } #define PROBE_OFFSET_XY_POS { X_CENTER, Y_CENTER } //centering the nozzle to make sure the BLTouch is not on the edge of the build plate
#elif ENABLED(MiniV2) #elif ENABLED(MiniV2)
#define PROBE_OFFSET_XY_POS { -4, -4 } #define PROBE_OFFSET_XY_POS { -4, -4 }
#elif ENABLED(TAZ6) #elif ENABLED(TAZ6)
@ -83,7 +84,7 @@ void GcodeSuite::M48() {
#endif #endif
constexpr xy_pos_t probe_point = PROBE_OFFSET_XY_POS; constexpr xy_pos_t probe_point = PROBE_OFFSET_XY_POS;
do_blocking_move_to_xy(probe_point); do_blocking_move_to_xy(probe_point); //moving toolhead to probe point
// Test at the current position by default, overridden by X and Y // Test at the current position by default, overridden by X and Y
const xy_pos_t test_position = { const xy_pos_t test_position = {