summaryrefslogtreecommitdiff
path: root/spectro/huey.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/huey.c
parentfa756339d4204bff7f2820067f58214d32780d17 (diff)
Imported Upstream version 1.8.3
Diffstat (limited to 'spectro/huey.c')
-rwxr-xr-x[-rw-r--r--]spectro/huey.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/huey.c b/spectro/huey.c
index 79f8089..b09ed2c 100644..100755
--- a/spectro/huey.c
+++ b/spectro/huey.c
@@ -159,7 +159,7 @@ static char *inst_desc(int cc) {
/* The Huey is set up as an HID device, which can ease the need */
/* for providing a kernel driver on MSWindows systems, */
/* but it doesn't seem to actually be used as an HID device. */
-/* We allow for communicating via libusb, or an HID driver. */
+/* We allow for communicating via usbio, or an HID driver. */
static inst_code
huey_command(
huey *p, /* huey object */
@@ -1026,7 +1026,7 @@ static inst_code set_default_disp_type(huey *p);
/* Establish communications with a HUEY */
/* If it's a serial port, use the baud rate given, and timeout in to secs */
-/* Return DTP_COMS_FAIL on failure to establish communications */
+/* Return HUEY_COMS_FAIL on failure to establish communications */
static inst_code
huey_init_coms(inst *pp, baud_rate br, flow_control fc, double tout) {
huey *p = (huey *) pp;
@@ -1400,6 +1400,7 @@ huey_del(inst *pp) {
if (p->icom != NULL)
p->icom->del(p->icom);
inst_del_disptype_list(p->dtlist, p->ndtlist);
+ p->vdel(pp);
free(p);
}