fix typo
c'n'p ftw :/
This commit is contained in:
parent
c26d816839
commit
be9e4ceddc
1 changed files with 2 additions and 2 deletions
|
@ -1955,7 +1955,7 @@ inline void gcode_G28() {
|
||||||
// Set the Y position, if included
|
// Set the Y position, if included
|
||||||
if (code_seen(axis_codes[Y_AXIS]) && code_has_value()) {
|
if (code_seen(axis_codes[Y_AXIS]) && code_has_value()) {
|
||||||
if (code_value_long() != 0) // filter 0
|
if (code_value_long() != 0) // filter 0
|
||||||
current_position[X_AXIS] = code_value();
|
current_position[Y_AXIS] = code_value();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Home Z last if homing towards the bed
|
// Home Z last if homing towards the bed
|
||||||
|
@ -2044,7 +2044,7 @@ inline void gcode_G28() {
|
||||||
// Set the Z position, if included
|
// Set the Z position, if included
|
||||||
if (code_seen(axis_codes[Z_AXIS]) && code_has_value()) {
|
if (code_seen(axis_codes[Z_AXIS]) && code_has_value()) {
|
||||||
if (code_value_long() != 0) // filter 0
|
if (code_value_long() != 0) // filter 0
|
||||||
current_position[X_AXIS] = code_value();
|
current_position[Z_AXIS] = code_value();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ENABLE_AUTO_BED_LEVELING) && (Z_HOME_DIR < 0)
|
#if defined(ENABLE_AUTO_BED_LEVELING) && (Z_HOME_DIR < 0)
|
||||||
|
|
Reference in a new issue