From d10eeea99ea9b9e5e1027c2711658e96862ef313 Mon Sep 17 00:00:00 2001 From: Edward Emelianov Date: Thu, 22 Jan 2026 09:39:45 +0300 Subject: [PATCH] fix --- ccdfunc.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ccdfunc.c b/ccdfunc.c index 2e2c268..5a7a7de 100644 --- a/ccdfunc.c +++ b/ccdfunc.c @@ -386,8 +386,7 @@ void focclose(){ */ void focusers(){ FNAME(); - void *dlh = NULL; - if(!startFocuser(&dlh)) return; + if(!startFocuser()) return; if(GP->listdevices){ for(int i = 0; i < focuser->Ndevices; ++i){ if(!focuser->setDevNo(i)) continue; @@ -477,8 +476,7 @@ void closewheel(){ */ void wheels(){ FNAME(); - void *dlh = NULL; - if(!startWheel(&dlh)) return; + if(!startWheel()) return; if(GP->listdevices){ for(int i = 0; i < wheel->Ndevices; ++i){ if(!wheel->setDevNo(i)) continue; @@ -582,8 +580,7 @@ void closecam(){ int prepare_ccds(){ FNAME(); int rtn = FALSE; - void *dlh = NULL; - if(!startCCD(&dlh)) return FALSE; + if(!startCCD()) return FALSE; if(GP->listdevices){ if(!camera->getModelName) WARNX(_("Camera plugin have no model name getter")); else for(int i = 0; i < camera->Ndevices; ++i){