Strip trailing spaces

This commit is contained in:
Scott Lahteine
2018-04-23 18:00:06 -05:00
parent 8177c4334e
commit f423e54f77
7 changed files with 72 additions and 72 deletions

View File

@ -234,7 +234,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
(parser.seenval('R') ? parser.value_linear_units() : Z_HOMING_HEIGHT)
);
if (z_homing_height && (home_all || homeX || homeY)) {
// Raise Z before homing any other axes and z is not already high enough (never lower z)
destination[Z_AXIS] = z_homing_height;