Fix borked search / replace
This commit is contained in:
@@ -284,7 +284,7 @@ void Endstops::init() {
|
||||
SET_INPUT(PROBE_ENABLE_PIN)
|
||||
#endif
|
||||
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
probe.tare_z_probe();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1603,7 +1603,7 @@ void homeaxis(const AxisEnum axis) {
|
||||
if (axis == Z_AXIS && bltouch.deploy()) return; // The initial DEPLOY
|
||||
#endif
|
||||
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
if(axis == Z_AXIS)
|
||||
if (probe.tare_z_probe()) return;
|
||||
#endif
|
||||
|
||||
@@ -479,7 +479,7 @@ bool Probe::probe_down_to_z(const float z, const feedRate_t fr_mm_s) {
|
||||
return !probe_triggered;
|
||||
}
|
||||
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
bool Probe::tare_z_probe() {
|
||||
#if ENABLED(PROBE_TARE_WHILE_INACTIVEACTIVE)
|
||||
if ((READ(PROBE_ENABLE_PIN) == PROBE_ENABLED_INPUTT_STATE)) {
|
||||
@@ -513,7 +513,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
||||
auto try_to_probe = [&](PGM_P const plbl, const float &z_probe_low_point, const feedRate_t fr_mm_s, const bool scheck, const float clearance) {
|
||||
// Do a first probe at the fast speed
|
||||
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
if(tare_z_probe()) return NAN;
|
||||
#endif
|
||||
|
||||
@@ -541,7 +541,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
||||
#if TOTAL_PROBING == 2
|
||||
|
||||
// Do a first probe at the fast speed
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
if(tare_z_probe()) return NAN;
|
||||
#endif
|
||||
|
||||
@@ -583,7 +583,7 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
|
||||
#endif
|
||||
{
|
||||
// Probe downward slowly to find the bed
|
||||
#if ENABLED(PROBE_CAN_TARE
|
||||
#if ENABLED(PROBE_CAN_TARE)
|
||||
if(tare_z_probe()) return true;
|
||||
#endif
|
||||
if (try_to_probe(PSTR("SLOW"), z_probe_low_point, MMM_TO_MMS(Z_PROBE_SPEED_SLOW),
|
||||
|
||||
Reference in New Issue
Block a user