From 4ed2a93cdd506078291d696aa3bf181d5fe697b4 Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Wed, 10 Jun 2026 09:36:27 +0300 Subject: [PATCH] asibfm700_mount.cpp: fixes in initMount --- asibfm700_mount.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asibfm700_mount.cpp b/asibfm700_mount.cpp index cf0158d..28b6811 100644 --- a/asibfm700_mount.cpp +++ b/asibfm700_mount.cpp @@ -128,14 +128,14 @@ Asibfm700Mount::error_t Asibfm700Mount::initMount() haPZone.setPCM(&_pcm); logInfo(" Add MccAxisLimitSwitchPZ zone: min value = {}, max value = {} (pzone type: '{}')", - haPZone.maxLimit().degrees(), haPZone.maxLimit().degrees(), "HA-axis limit switch"); + haPZone.minLimit().degrees(), haPZone.maxLimit().degrees(), "HA-axis limit switch"); pz_num = addPZone(std::move(haPZone)); auto decPZone = _mountConfig.axisLimitSwitchDEC(); decPZone.setPCM(&_pcm); logInfo(" Add MccAxisLimitSwitchPZ zone: min value = {}, max value = {} (pzone type: '{}')", - decPZone.maxLimit().degrees(), decPZone.maxLimit().degrees(), "DEC-axis limit switch"); + decPZone.minLimit().degrees(), decPZone.maxLimit().degrees(), "DEC-axis limit switch"); pz_num = addPZone(std::move(decPZone)); logInfo("{} prohibited zones were added successfully", pz_num);