[Kstars-devel] kdeedu/kstars/kstars
Jasem Mutlaq
mutlaqja at ikarustech.com
Fri Feb 18 16:45:44 CET 2005
CVS commit by mutlaqja:
Use IUUpdateMinMax to fix min/max values of properties. The property edit box no longer gets updated when the property is busy; Thanks Gaetano!
Gaetano, you can go ahead and test the FLI CCD now.
CCMAIL: kstars-devel at kde.org
M +2 -2 indidevice.cpp 1.37
M +1 -1 indi/fli_ccd.c 1.18
M +7 -1 indi/lx200generic.cpp 1.50
M +1 -0 indi/v4ldriver.cpp 1.15
M +2 -1 indi/v4lphilips.cpp 1.14
--- kdeedu/kstars/kstars/indidevice.cpp #1.36:1.37
@@ -292,9 +292,9 @@ int INDI_D::setTextValue (INDI_P *pp, XM
if (ap) { max = atof(valuXMLAtt(ap)); lp->setMax(max); }
- if (lp->spin_w)
+ /*if (lp->spin_w)
{
lp->spin_w->setValue(lp->value);
lp->spinChanged(lp->value);
- }
+ }*/
}
--- kdeedu/kstars/kstars/indi/fli_ccd.c #1.17:1.18
@@ -829,5 +829,5 @@ int grabImage()
}
- for (i=0; i < FLIImg->width ; i++)
+ for (i=0; i < FLIImg->height ; i++)
{
if ( (err = FLIGrabRow(fli_dev, &FLIImg->img[i * FLIImg->width], FLIImg->width)))
--- kdeedu/kstars/kstars/indi/lx200generic.cpp #1.49:1.50
@@ -328,4 +328,5 @@ LX200Generic::LX200Generic()
// Children call parent routines, this is the default
IDLog("initilizaing from generic LX200 device...\n");
+ IDLog("INDI Version: 2004-02-17\n");
//enableSimulation(true);
@@ -751,5 +752,5 @@ void LX200Generic::ISNewSwitch (const ch
//IDLog("SolarSw name is %s\n", SolarSw.name);
- IDLog("The device name is %s\n", dev);
+ //IDLog("The device name is %s\n", dev);
// ignore if not ours //
if (strcmp (thisDevice, dev))
@@ -1526,4 +1527,6 @@ int LX200Generic::handleCoordSet()
double dx, dy;
+ IDLog("In Handle Coord Set()\n");
+
switch (currentSet)
{
@@ -1534,4 +1537,5 @@ int LX200Generic::handleCoordSet()
if (eqNum.s == IPS_BUSY)
{
+ IDLog("Aboring Slew\n");
abortSlew();
@@ -1555,6 +1559,8 @@ int LX200Generic::handleCoordSet()
// Track
case LX200_TRACK:
+ IDLog("We're in LX200_TRACK\n");
if (eqNum.s == IPS_BUSY)
{
+ IDLog("Aboring Slew\n");
abortSlew();
--- kdeedu/kstars/kstars/indi/v4ldriver.cpp #1.14:1.15
@@ -565,4 +565,5 @@ void getBasicData()
ImageSizeN[1].max = ymax;
+ IUUpdateMinMax(&ImageSizeNP);
IDSetNumber(&ImageSizeNP, NULL);
--- kdeedu/kstars/kstars/indi/v4lphilips.cpp #1.13:1.14
@@ -966,4 +966,5 @@ void getBasicData()
IDSetNumber(&ImageSizeNP, NULL);
+ IUUpdateMinMax(&ImageSizeNP);
strncpy(camNameT[0].text, getDeviceName(), MAXINDILABEL);
More information about the Kstars-devel
mailing list