Moved the code that reports the driver version to the end of the initialisation.

This commit is contained in:
2019-07-23 10:32:18 +01:00
parent 1452f3cf07
commit e9d41a2412
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -105,14 +105,12 @@ namespace ASCOM.Meade.net
{
//todo move the TraceLogger out to a factory class.
_tl = new TraceLogger("", "Meade.Generic.Telescope");
LogMessage("Telescope", "Starting initialisation");
LogMessage("Telescope", $"Driver version: {DriverVersion}");
ReadProfile(); // Read device configuration from the ASCOM Profile store
IsConnected = false; // Initialise connected to false
LogMessage("Telescope", "Completed initialisation");
LogMessage("Telescope", $"Driver version: {DriverVersion}");
}