From 3bfbd47c6dba54b3628e55135fd93b87938d9881 Mon Sep 17 00:00:00 2001 From: MoellerDi Date: Mon, 22 Jun 2020 22:37:14 +0200 Subject: [PATCH] Fix 3-point middle point (#18383) --- Marlin/src/module/probe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/probe.h b/Marlin/src/module/probe.h index 0f8ce4a35e..abab33bf71 100644 --- a/Marlin/src/module/probe.h +++ b/Marlin/src/module/probe.h @@ -190,7 +190,7 @@ public: #else points[0].set(min_x(), min_y()); points[1].set(max_x(), min_y()); - points[2].set((max_x() - min_x()) / 2, max_y()); + points[2].set((min_x() + max_x()) / 2, max_y()); #endif #endif }