fixed for usefull_macros v0.3.2

This commit is contained in:
2025-04-16 09:33:25 +03:00
parent 3ccf398840
commit c50a789aef
20 changed files with 357 additions and 350 deletions

View File

@@ -255,7 +255,7 @@ static int thot(float *t){
}
static int startexp(){
tstart = dtime();
tstart = sl_dtime();
DBG("Start exposition %g seconds (isobject=%d)", exptime, isobject);
CCDerr r = ApnGlueStartExp(&exptime, isobject);
if(ALTA_OK != r){
@@ -302,7 +302,7 @@ static int pollcapt(cc_capture_status *st, float *remain){
if(remain) *remain = 0.f;
return TRUE;
}else DBG("Capture in process");
double d = exptime - (dtime() - tstart);
double d = exptime - (sl_dtime() - tstart);
DBG("Poll capture, tremain=%g", d);
if(d < -5.){ // capture error?
WARNX("Abort capture");