From 496669dffcb9b8a006705cf523d1cabb02cf54b7 Mon Sep 17 00:00:00 2001 From: Fabian Uehleke Date: Tue, 13 Oct 2026 21:25:17 +0200 Subject: [PATCH] Update Mount.cpp --- src/Mount.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Mount.cpp b/src/Mount.cpp index 20429bd9..6a9d4232 100644 --- a/src/Mount.cpp +++ b/src/Mount.cpp @@ -2156,6 +2156,9 @@ void Mount::enableAzMotor() { #if (AZ_STEPPER_TYPE != STEPPER_TYPE_NONE) digitalWrite(AZ_EN_PIN, LOW); // Logic LOW to enable driver + // Let loop() disable the driver again, even if the move turns out to be zero steps + // (e.g. move to home while already at home), so it never stays powered. + _azAltWasRunning = true; #endif } @@ -2163,6 +2166,8 @@ void Mount::enableAltMotor() { #if (ALT_STEPPER_TYPE != STEPPER_TYPE_NONE) digitalWrite(ALT_EN_PIN, LOW); // Logic LOW to enable driver + // See enableAzMotor() + _azAltWasRunning = true; #endif }