summaryrefslogtreecommitdiff
path: root/spectro/ss.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/ss.c')
-rw-r--r--spectro/ss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spectro/ss.c b/spectro/ss.c
index 837e264..90720ca 100644
--- a/spectro/ss.c
+++ b/spectro/ss.c
@@ -131,7 +131,7 @@ static void check_calcount(ss *p, int atstart) {
/* Establish communications with a Spectrolino/Spectroscan */
/* Use the baud rate given, and timeout in to secs */
-/* Return SS_COMS_FAIL on failure to establish communications */
+/* Return DTP_COMS_FAIL on failure to establish communications */
static inst_code
ss_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) {
ss *p = (ss *)pp;
@@ -2037,7 +2037,6 @@ ss_del(inst *pp) {
if (p->icom != NULL)
p->icom->del(p->icom);
- p->vdel(pp);
free (p);
}