diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-06 07:40:42 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-06 07:40:42 +0100 |
commit | c6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch) | |
tree | a90193f98739ad96e6ae676409022bd15a648aae /spectro/huey.c | |
parent | c6267b450e6858fdff4360104b362d9da2e1806d (diff) |
New upstream release
Diffstat (limited to 'spectro/huey.c')
-rw-r--r-- | spectro/huey.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spectro/huey.c b/spectro/huey.c index 79f8089..b09ed2c 100644 --- 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); } |