[Kstars-devel] KDE/kdeedu/kstars/kstars/indi
Jasem Mutlaq
mutlaqja at ikarustech.com
Sat Aug 19 09:43:04 CEST 2006
SVN commit 574492 by mutlaqja:
Adding initial version of true technology filter wheel.
CCMAIL: kstars-devel at kde.org
M +21 -0 CMakeLists.txt
D SchedGUI
M +4 -0 drivers.xml
D fli/libfli.pdf
D fli/readme.txt
M +1 -1 robofocus.c
A trutech_wheel.c [License: LGPL (v2.1+)]
--- trunk/KDE/kdeedu/kstars/kstars/indi/CMakeLists.txt #574491:574492
@@ -332,6 +332,27 @@
install(TARGETS flipdf DESTINATION ${BIN_INSTALL_DIR} )
########### next target ###############
+###### FLI Precision Digital Focuser ######
+
+set(robofocus_SRCS eventloop.c robofocus.c indidrivermain.c)
+
+kde4_add_executable(robofocus ${robofocus_SRCS} ${liblilxml_SRCS} ${libindicom_SRCS})
+
+target_link_libraries(robofocus ${KDE4_KDECORE_LIBS} )
+
+install(TARGETS robofocus DESTINATION ${BIN_INSTALL_DIR} )
+
+########### next target ###############
+########## True Technology Wheel ############
+set(trutechwheel_SRCS eventloop.c trutech_wheel.c indidrivermain.c )
+
+kde4_add_executable(trutechwheel ${trutechwheel_SRCS} ${liblilxml_SRCS} ${libindicom_SRCS})
+
+target_link_libraries(trutechwheel ${KDE4_KDECORE_LIBS} )
+
+install(TARGETS trutechwheel DESTINATION ${BIN_INSTALL_DIR} )
+
+########### next target ###############
########## FLI Filter Wheel ############
set(fliwheel_SRCS eventloop.c fli_wheel.c indidrivermain.c )
--- trunk/KDE/kdeedu/kstars/kstars/indi/drivers.xml #574491:574492
@@ -124,6 +124,10 @@
<driver>fliwheel</driver>
<version>0.9</version>
</device>
+ <device label="TruTech Wheel">
+ <driver>trutechwheel</driver>
+ <version>0.1</version>
+ </device>
</devGroup>
<devGroup group="Video">
<device label="Generic Video4Linux">
--- trunk/KDE/kdeedu/kstars/kstars/indi/robofocus.c #574491:574492
@@ -1227,7 +1227,7 @@
case ISS_ON:
/* if (Connect(PortT[0].text) < 0)*/
- if (tty_connect(PortT[0].text, NULL, &fd) != TTY_NO_ERROR)
+ if (tty_connect(PortT[0].text, NULL, &fd) != TTY_OK)
{
PowerSP.s = IPS_ALERT;
More information about the Kstars-devel
mailing list