Browse Source

Increase top Z-offset limit based on some test results

D.R.racer 3 years ago
parent
commit
4747c8c9f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/xyzcal.cpp

+ 1 - 1
Firmware/xyzcal.cpp

@@ -499,7 +499,7 @@ int8_t xyzcal_find_point_center2(uint16_t delay_us)
         return xyzcal_find_point_center2A(x0, y0, z0, delay_us);
     } else {
         // try searching harder, each PINDA is different
-        for(z0 = _Z - 20; z0 < _Z + 60; z0 += 20 ){ // alternate PINDA
+        for(z0 = _Z - 20; z0 <= _Z + 140; z0 += 20 ){ // alternate PINDA
             int8_t rv = xyzcal_find_point_center2A(x0, y0, z0, delay_us);
             printf_P(PSTR(" z0=%d"), z0);
             if( rv != 0 ){