summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames McKenzie <root@ka-ata-killa.panaceas.james.local>2023-01-25 10:45:48 +0000
committerJames McKenzie <root@ka-ata-killa.panaceas.james.local>2023-01-25 10:45:48 +0000
commit9e80705afa9cbfb931b5e1b18c48cd302db1decc (patch)
tree655be51b609ed217331c68ceefa406ef39de1ca9
parenta6c654a55d287f8988c72afb49bb9883bd91b7e4 (diff)
downloadindi_mount_driver-9e80705afa9cbfb931b5e1b18c48cd302db1decc.tar.gz
indi_mount_driver-9e80705afa9cbfb931b5e1b18c48cd302db1decc.tar.bz2
indi_mount_driver-9e80705afa9cbfb931b5e1b18c48cd302db1decc.zip
add timer based guiding
-rw-r--r--indi-lxd650/lxd650.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indi-lxd650/lxd650.cpp b/indi-lxd650/lxd650.cpp
index 813f6bd..87dd65d 100644
--- a/indi-lxd650/lxd650.cpp
+++ b/indi-lxd650/lxd650.cpp
@@ -590,7 +590,7 @@ void LXD650::GuideWestProxy(void *context)
IPState LXD650::GuideWest(uint32_t ms)
{
- double rate = GuideRateNP[AXIS_ALT].getValue();
+ double rate = GuideRateNP[AXIS_AZ].getValue();
ms = (uint32_t) (rate * (double) ms);
@@ -626,7 +626,7 @@ void LXD650::GuideEastProxy(void *context)
IPState LXD650::GuideEast(uint32_t ms)
{
- double rate = GuideRateNP[AXIS_ALT].getValue();
+ double rate = GuideRateNP[AXIS_AZ].getValue();
ms = (uint32_t) (rate * (double) ms);