summaryrefslogtreecommitdiff
path: root/spectro/dtp51.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/dtp51.c')
-rw-r--r--[-rwxr-xr-x]spectro/dtp51.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spectro/dtp51.c b/spectro/dtp51.c
index ab1999d..cfd1265 100755..100644
--- a/spectro/dtp51.c
+++ b/spectro/dtp51.c
@@ -180,7 +180,7 @@ double to) { /* Timout in seconts */
/* Establish communications with a DTP51 */
/* Use the baud rate given, and timeout in to secs */
-/* Return DTP51_COMS_FAIL on failure to establish communications */
+/* Return DTP_COMS_FAIL on failure to establish communications */
static inst_code
dtp51_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) {
dtp51 *p = (dtp51 *)pp;
@@ -787,7 +787,6 @@ dtp51_del(inst *pp) {
dtp51 *p = (dtp51 *)pp;
if (p->icom != NULL)
p->icom->del(p->icom);
- p->vdel(pp);
free(p);
}