This commit is contained in:
Timur A. Fatkhullin
2026-02-16 22:19:48 +03:00
parent dff70225ef
commit 7b110fb7ff
3 changed files with 4 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ public:
// to be computed as observed celestial X and Y cordinate according to mount type (HA-DEC or AZ-ZD)
double x, y;
auto getXY = [&, this](auto& cp) {
auto getXY = [&, this](auto& cp) -> error_t {
auto err = obs_skycoord.toAtSameEpoch(cp);
if (err) {
return mcc_deduced_err(err, MccDefaultPCMErrorCode::ERROR_CCTE);

View File

@@ -149,7 +149,7 @@ public:
return _inZoneFunc.size();
}
void clearZones()
void clearPZones()
{
_inZoneFunc.clear();
_timeToZoneFunc.clear();

View File

@@ -269,7 +269,8 @@ public:
&_tdataPtr->pcmReverseCorrection,
&_tdataPtr->targetXY);
if (pcm_err) {
return mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
_lastUpdateError =
mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
}
}
}