Browse Source

Fix 3-point middle point (#18383)

MoellerDi 4 years ago
parent
commit
3bfbd47c6d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/probe.h

+ 1
- 1
Marlin/src/module/probe.h View File

190
           #else
190
           #else
191
             points[0].set(min_x(), min_y());
191
             points[0].set(min_x(), min_y());
192
             points[1].set(max_x(), min_y());
192
             points[1].set(max_x(), min_y());
193
-            points[2].set((max_x() - min_x()) / 2, max_y());
193
+            points[2].set((min_x() + max_x()) / 2, max_y());
194
           #endif
194
           #endif
195
         #endif
195
         #endif
196
       }
196
       }

Loading…
Cancel
Save