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);