mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
parent
251c5c47aa
commit
95f990a656
@ -312,7 +312,7 @@ void GcodeSuite::G28() {
|
||||
#endif
|
||||
|
||||
const float z_homing_height =
|
||||
ENABLED(UNKNOWN_Z_NO_RAISE) && TEST(axis_known_position, Z_AXIS)
|
||||
ENABLED(UNKNOWN_Z_NO_RAISE) && !TEST(axis_known_position, Z_AXIS)
|
||||
? 0
|
||||
: (parser.seenval('R') ? parser.value_linear_units() : Z_HOMING_HEIGHT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user