summaryrefslogtreecommitdiff
path: root/spectro/dtp51.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 05:38:49 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 05:38:49 +0100
commit9491825ddff7a294d1f49061bae7044e426aeb2e (patch)
tree06e651099f87140ec534ae47fb8ce1ac6ec7976d /spectro/dtp51.c
parentfa756339d4204bff7f2820067f58214d32780d17 (diff)
Imported Upstream version 1.8.3
Diffstat (limited to 'spectro/dtp51.c')
-rwxr-xr-x[-rw-r--r--]spectro/dtp51.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/spectro/dtp51.c b/spectro/dtp51.c
index cfd1265..ab1999d 100644..100755
--- 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 DTP_COMS_FAIL on failure to establish communications */
+/* Return DTP51_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,6 +787,7 @@ dtp51_del(inst *pp) {
dtp51 *p = (dtp51 *)pp;
if (p->icom != NULL)
p->icom->del(p->icom);
+ p->vdel(pp);
free(p);
}