Moved the RA position report on connect to trigger for ALL connects, not just the first connection.

This commit is contained in:
2019-10-05 13:47:14 +01:00
parent 7f8c2cb559
commit 7a92581fa8
+3 -4
View File
@@ -398,15 +398,14 @@ namespace ASCOM.Meade.net
}
SetTelescopePrecision("Connect");
var raAndDec = GetTelescopeRaAndDec();
LogMessage("Connected Set", $"Connected OK. Current RA = {_utilitiesExtra.HoursToHMS(raAndDec.RightAscension)} Dec = {_utilitiesExtra.DegreesToDMS(raAndDec.Declination)}");
}
else
{
LogMessage("Connected Set", $"Skipping first connection telescope adjustments (current connections: {connectionInfo.SameDevice})");
}
var raAndDec = GetTelescopeRaAndDec();
LogMessage("Connected Set", $"Connected OK. Current RA = {_utilitiesExtra.HoursToHMS(raAndDec.RightAscension)} Dec = {_utilitiesExtra.DegreesToDMS(raAndDec.Declination)}");
}
catch (Exception)
{