Roxy-3D
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
Marlin/src/feature/bedlevel/bedlevel.cpp
|
@ -269,9 +269,9 @@ void reset_bed_level() { |
|
|
#ifdef MANUAL_PROBE_START_Z |
|
|
#ifdef MANUAL_PROBE_START_Z |
|
|
#if MANUAL_PROBE_HEIGHT > 0 |
|
|
#if MANUAL_PROBE_HEIGHT > 0 |
|
|
do_blocking_move_to(rx, ry, MANUAL_PROBE_HEIGHT); |
|
|
do_blocking_move_to(rx, ry, MANUAL_PROBE_HEIGHT); |
|
|
do_blocking_move_to_z(MAX(0,MANUAL_PROBE_START_Z); |
|
|
do_blocking_move_to_z(MAX(0,MANUAL_PROBE_START_Z)); |
|
|
#else |
|
|
#else |
|
|
do_blocking_move_to(rx, ry, MAX(0,MANUAL_PROBE_START_Z); |
|
|
do_blocking_move_to(rx, ry, MAX(0,MANUAL_PROBE_START_Z)); |
|
|
#endif |
|
|
#endif |
|
|
#elif MANUAL_PROBE_HEIGHT > 0 |
|
|
#elif MANUAL_PROBE_HEIGHT > 0 |
|
|
const float prev_z = current_position[Z_AXIS]; |
|
|
const float prev_z = current_position[Z_AXIS]; |
|
|