From d9f132c00517c017a2c121902ac703783cebcb1e Mon Sep 17 00:00:00 2001 From: Ken Richardson Date: Sat, 17 Aug 2024 19:43:54 -0300 Subject: [PATCH] Fixed autofocus issues in Ekos --- drivers/focuser/myfocuserpro2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/focuser/myfocuserpro2.cpp b/drivers/focuser/myfocuserpro2.cpp index 42897aa291..04b4052eb9 100644 --- a/drivers/focuser/myfocuserpro2.cpp +++ b/drivers/focuser/myfocuserpro2.cpp @@ -737,6 +737,8 @@ bool MyFocuserPro2::isMoving() { char res[ML_RES] = {0}; + readPosition(); // Fix for Ekos autofocus + if (sendCommand(":01#", res) == false) { return false;