asibfm700_mount.cpp: fixes in initMount

This commit is contained in:
2026-06-10 09:36:27 +03:00
parent 9d647ff2aa
commit 4ed2a93cdd

View File

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