diff --git a/Grbl_Esp32/src/Limits.cpp b/Grbl_Esp32/src/Limits.cpp index e3699605..1f86313c 100644 --- a/Grbl_Esp32/src/Limits.cpp +++ b/Grbl_Esp32/src/Limits.cpp @@ -222,7 +222,7 @@ static void limits_go_home(uint8_t cycle_mask, uint32_t n_locate_cycles) { // Add a small fudge factor to ensure that the limit is reached for (int axis = 0; axis < n_axis; axis++) { auto homing = config->_axes->_axis[axis]->_homing; - auto scaler = approach ? homing->_search_scaler : homing->_locate_scaler; + auto scaler = approach ? homing->_seek_scaler : homing->_locate_scaler; if (bitnum_istrue(axislock, axis)) { target[axis] *= limitingRate * scaler; } diff --git a/Grbl_Esp32/src/Machine/Homing.h b/Grbl_Esp32/src/Machine/Homing.h index 9768bae9..03a75923 100644 --- a/Grbl_Esp32/src/Machine/Homing.h +++ b/Grbl_Esp32/src/Machine/Homing.h @@ -35,7 +35,7 @@ namespace Machine { float _seekRate = 200.0f; // this first approach speed float _pulloff = 1.0f; // mm int _debounce = 250; // ms settling time for homing switches after motion - float _search_scaler = 1.1f; // multiplied by max travel for max homing distance on first touch + float _seek_scaler = 1.1f; // multiplied by max travel for max homing distance on first touch float _locate_scaler = 1.0f; // Configuration system helpers: @@ -50,7 +50,7 @@ namespace Machine { handler.item("debounce", _debounce); handler.item("pulloff", _pulloff); handler.item("square", _square); - handler.item("search_scaler", _search_scaler); + handler.item("seek_scaler", _seek_scaler); handler.item("locate_scaler", _locate_scaler); } };