summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-22 20:18:20 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-22 20:18:20 (GMT)
commite5abf7c1e2e527a98be197d310dba199d6a0abc5 (patch)
treea92c56b6902f1586f5f079e9e76e9f619f7b7939
parent1545e480dc33c9483d952dbbc0d1edfa65d893fa (diff)
Set ST4 default driver
-rw-r--r--kstars/ekos/ekosmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/kstars/ekos/ekosmanager.cpp b/kstars/ekos/ekosmanager.cpp
index 30a6490..8cb3d86 100644
--- a/kstars/ekos/ekosmanager.cpp
+++ b/kstars/ekos/ekosmanager.cpp
@@ -1616,9 +1616,11 @@ void EkosManager::setST4(ISD::ST4 * st4Driver)
guideProcess->addST4(st4Driver);
+ if (Options::defaultST4Driver().isEmpty() == false)
+ guideProcess->setST4(Options::defaultST4Driver());
//if (ao && ao->getDeviceName() == st4Driver->getDeviceName())
- if (managedDevices.contains(KSTARS_ADAPTIVE_OPTICS) && (st4Driver->getDeviceName() == managedDevices[KSTARS_ADAPTIVE_OPTICS]->getDeviceName()))
- guideProcess->setAO(st4Driver);
+ //if (managedDevices.contains(KSTARS_ADAPTIVE_OPTICS) && (st4Driver->getDeviceName() == managedDevices[KSTARS_ADAPTIVE_OPTICS]->getDeviceName()))
+ //guideProcess->setAO(st4Driver);
}