This commit is contained in:
Edward Emelianov 2026-01-22 09:39:45 +03:00
parent c50a789aef
commit d10eeea99e

View File

@ -386,8 +386,7 @@ void focclose(){
*/ */
void focusers(){ void focusers(){
FNAME(); FNAME();
void *dlh = NULL; if(!startFocuser()) return;
if(!startFocuser(&dlh)) return;
if(GP->listdevices){ if(GP->listdevices){
for(int i = 0; i < focuser->Ndevices; ++i){ for(int i = 0; i < focuser->Ndevices; ++i){
if(!focuser->setDevNo(i)) continue; if(!focuser->setDevNo(i)) continue;
@ -477,8 +476,7 @@ void closewheel(){
*/ */
void wheels(){ void wheels(){
FNAME(); FNAME();
void *dlh = NULL; if(!startWheel()) return;
if(!startWheel(&dlh)) return;
if(GP->listdevices){ if(GP->listdevices){
for(int i = 0; i < wheel->Ndevices; ++i){ for(int i = 0; i < wheel->Ndevices; ++i){
if(!wheel->setDevNo(i)) continue; if(!wheel->setDevNo(i)) continue;
@ -582,8 +580,7 @@ void closecam(){
int prepare_ccds(){ int prepare_ccds(){
FNAME(); FNAME();
int rtn = FALSE; int rtn = FALSE;
void *dlh = NULL; if(!startCCD()) return FALSE;
if(!startCCD(&dlh)) return FALSE;
if(GP->listdevices){ if(GP->listdevices){
if(!camera->getModelName) WARNX(_("Camera plugin have no model name getter")); if(!camera->getModelName) WARNX(_("Camera plugin have no model name getter"));
else for(int i = 0; i < camera->Ndevices; ++i){ else for(int i = 0; i < camera->Ndevices; ++i){