diff --git a/Marlin/src/libs/nozzle.cpp b/Marlin/src/libs/nozzle.cpp index 93ed937d6..9d62cf391 100644 --- a/Marlin/src/libs/nozzle.cpp +++ b/Marlin/src/libs/nozzle.cpp @@ -162,7 +162,7 @@ #if ENABLED(NOZZLE_PARK_FEATURE) - void Nozzle::park(const uint8_t &z_action, const point_t &park /*= NOZZLE_PARK_POINT*/) { + void Nozzle::park(const uint8_t z_action, const point_t &park /*= NOZZLE_PARK_POINT*/) { const float fr_xy = NOZZLE_PARK_XY_FEEDRATE; const float fr_z = NOZZLE_PARK_Z_FEEDRATE; diff --git a/Marlin/src/libs/nozzle.h b/Marlin/src/libs/nozzle.h index 4629d7b94..3adf6f3ac 100644 --- a/Marlin/src/libs/nozzle.h +++ b/Marlin/src/libs/nozzle.h @@ -86,7 +86,7 @@ class Nozzle { #if ENABLED(NOZZLE_PARK_FEATURE) - static void park(const uint8_t &z_action, const point_t &park = NOZZLE_PARK_POINT) _Os; + static void park(const uint8_t z_action, const point_t &park=NOZZLE_PARK_POINT) _Os; #endif };