|
|
@ -184,7 +184,7 @@ bool ApogeeCam::loadXMLModel()
|
|
|
|
|
|
|
|
|
|
|
|
//IDLog("Top dir is "TOP_DATADIR, NULL);
|
|
|
|
//IDLog("Top dir is "TOP_DATADIR, NULL);
|
|
|
|
modelSpecFile = fopen(TOP_DATADIR"/apogee_caminfo.xml", "r");
|
|
|
|
modelSpecFile = fopen(TOP_DATADIR"/apogee_caminfo.xml", "r");
|
|
|
|
//modelSpecFile = fopen("/opt/kde3/share/apps/kstars/apogee_caminfo.xml", "r");
|
|
|
|
//modelSpecFile = fopen("/opt/trinity/share/apps/kstars/apogee_caminfo.xml", "r");
|
|
|
|
if (modelSpecFile == NULL)
|
|
|
|
if (modelSpecFile == NULL)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
IDLog("Error: Unable to open file apogee_caminfo.xml\n");
|
|
|
|
IDLog("Error: Unable to open file apogee_caminfo.xml\n");
|
|
|
@ -897,7 +897,7 @@ bool ApogeeCam::initCamera()
|
|
|
|
char errmsg[1024];
|
|
|
|
char errmsg[1024];
|
|
|
|
|
|
|
|
|
|
|
|
spFile = fopen(TOP_DATADIR"/apogee_caminfo.xml", "r");
|
|
|
|
spFile = fopen(TOP_DATADIR"/apogee_caminfo.xml", "r");
|
|
|
|
//spFile = fopen("/opt/kde3/share/apps/kstars/apogee_caminfo.xml", "r");
|
|
|
|
//spFile = fopen("/opt/trinity/share/apps/kstars/apogee_caminfo.xml", "r");
|
|
|
|
if (spFile == NULL)
|
|
|
|
if (spFile == NULL)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
IDLog("Error: Unable to open file apogee_caminfo.xml\n");
|
|
|
|
IDLog("Error: Unable to open file apogee_caminfo.xml\n");
|
|
|
|