diff options
Diffstat (limited to 'spectro/smcube.c')
-rw-r--r-- | spectro/smcube.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/spectro/smcube.c b/spectro/smcube.c index 8a788ec..1618447 100644 --- a/spectro/smcube.c +++ b/spectro/smcube.c @@ -140,12 +140,6 @@ static inst_code smcube_measure(smcube *p, double *XYZ); static void cube_rgb2XYZ(double *xyz, double *irgb); -int static smcube_save_calibration(smcube *p); -int static smcube_touch_calibration(smcube *p); -int static smcube_restore_calibration(smcube *p); - -/* ------------------------------------------------- */ - /* Do a full command/response echange with the smcube */ /* (This level is not multi-thread safe) */ /* Return the smcube error code. */ @@ -855,7 +849,6 @@ smcube_del(inst *pp) { if (p->icom != NULL) p->icom->del(p->icom); amutex_del(p->lock); - p->vdel(pp); free(p); } } @@ -2016,7 +2009,7 @@ static void cube_rgb2XYZ(double *xyz, double *irgb) { /* The cube doesn't have an easily accessible serial number :-( */ /* So if you have more than one, you'll be sharing the same calibration !! */ -int static smcube_save_calibration(smcube *p) { +int smcube_save_calibration(smcube *p) { int ev = SMCUBE_OK; int i; char fname[100]; /* Name */ @@ -2074,7 +2067,7 @@ int static smcube_save_calibration(smcube *p) { } /* Restore the all modes calibration from the local system */ -int static smcube_restore_calibration(smcube *p) { +int smcube_restore_calibration(smcube *p) { int ev = SMCUBE_OK; int i, j; char fname[100]; /* Name */ @@ -2176,7 +2169,7 @@ int static smcube_restore_calibration(smcube *p) { return ev; } -int static smcube_touch_calibration(smcube *p) { +int smcube_touch_calibration(smcube *p) { int ev = SMCUBE_OK; char fname[100]; /* Name */ int rv; |