summaryrefslogtreecommitdiff
path: root/spectro/usbio.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-06 07:40:42 +0100
commitc6739b6427261ac2682a9fca3b23c98df0dc9f60 (patch)
treea90193f98739ad96e6ae676409022bd15a648aae /spectro/usbio.c
parentc6267b450e6858fdff4360104b362d9da2e1806d (diff)
New upstream release
Diffstat (limited to 'spectro/usbio.c')
-rw-r--r--spectro/usbio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spectro/usbio.c b/spectro/usbio.c
index 668544a..9f8964a 100644
--- a/spectro/usbio.c
+++ b/spectro/usbio.c
@@ -118,7 +118,7 @@ int rwsize, /* Bytes to read or write */
double tout /* Timeout in seconds */
) {
int rv = 0; /* Return value */
- int c, rwbytes; /* Data bytes read or written */
+ int rwbytes; /* Data bytes read or written */
long top; /* timeout in msec */
if (p->log->debug >= 8) {
@@ -412,7 +412,7 @@ double tout)
/* Until data is all written, we time out, or the user aborts */
for (top = ttop; top > 0 && len > 0;) {
- int c, rv;
+ int rv;
a1logd(p->log, 8, "icoms_usb_ser_write: attempting to write %d bytes to usb top = %d\n",len,top);
rv = icoms_usb_transaction(p, NULL, &wbytes, type, (unsigned char)ep, (unsigned char *)wbuf, len, top);