From: Jim Morris Date: Sun, 26 Jun 2016 03:10:18 +0000 (-0700) Subject: use fast rate for backoff endstops X-Git-Url: http://git.hcoop.net/clinton/Smoothieware.git/commitdiff_plain/0464bc3bf6bf219163889923505e278fd3dcb846 use fast rate for backoff endstops --- diff --git a/src/modules/tools/endstops/Endstops.cpp b/src/modules/tools/endstops/Endstops.cpp index 2fa79cad..a783afc3 100644 --- a/src/modules/tools/endstops/Endstops.cpp +++ b/src/modules/tools/endstops/Endstops.cpp @@ -350,8 +350,8 @@ void Endstops::back_off_home(std::bitset<3> axis) if(!params.empty()) { // Move off of the endstop using a regular relative move params.insert(params.begin(), {'G', 0}); - // use X slow rate to move, Z should have a max speed set anyway - params.push_back({'F', this->slow_rates[X_AXIS] * 60.0F}); + // use X fast rate to move, Z should have a max speed set anyway + params.push_back({'F', this->fast_rates[X_AXIS] * 60.0F}); char gcode_buf[64]; append_parameters(gcode_buf, params, sizeof(gcode_buf)); Gcode gc(gcode_buf, &(StreamOutput::NullStream));