diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-02 19:25:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-02 19:25:17 +0200 |
commit | c2ca7be5a751879159f3cb591a64bb9568b79762 (patch) | |
tree | 04e38d4f4a2aad4d789bda0a65b7abb80a3439a2 /spectro/usbio_bsd.c | |
parent | 45c152c326d87478fbf41714b4b8e2f7b57a282b (diff) | |
parent | 3db384424bd7398ffbb7a355cab8f15f3add009f (diff) |
Updated version 1.9.1+repack from 'upstream/1.9.1+repack'
with Debian dir 98a996367aa69ae41accf9c6d369f600bc94de80
Diffstat (limited to 'spectro/usbio_bsd.c')
-rw-r--r-- | spectro/usbio_bsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spectro/usbio_bsd.c b/spectro/usbio_bsd.c index 0af13a1..4b3e038 100644 --- a/spectro/usbio_bsd.c +++ b/spectro/usbio_bsd.c @@ -23,7 +23,7 @@ ( Most of the below code is stubbed out, with the Linux code as a placeholder. ) - BSD uses fd per end point, so simplifies things. + BSD uses fd per end point, so simplifies things (good). No clear ep or abort i/o though, so we could try clear halt, or close fd and see if that works in aborting transaction ? @@ -57,7 +57,7 @@ #define poll_x poll #endif -/* Add paths to USB connected instruments */ +/* Add paths to USB connected device */ /* Return an icom error */ int usb_get_paths( icompaths *p @@ -75,7 +75,7 @@ icompaths *p int vid, pid; int nconfig = 0, nep = 0; char *dpath; - instType itype; + devType itype; struct usb_idevice *usbd = NULL; a1logd(p->log, 6, "usb_get_paths: about to look through usb devices:\n"); @@ -193,7 +193,7 @@ icompaths *p break; } - a1logd(p->log, 8, "usb_get_paths: returning %d paths and ICOM_OK\n",p->npaths); + a1logd(p->log, 8, "usb_get_paths: returning %d paths and ICOM_OK\n",p->ndpaths[dtix_combined]); return ICOM_OK; } |