OSDN Git Service

supported Linux environment
[unagi/old-svn-converted.git] / client / trunk / usb_device.c
index acdd2ee..7729942 100644 (file)
@@ -117,6 +117,7 @@ int usbOpenDevice(
        usb_dev_handle *handle = NULL;
        int errorCode = USBOPEN_ERR_NOTFOUND;
 
+    usb_init();
     usb_find_busses();
     usb_find_devices();
     for(bus = usb_get_busses(); bus; bus = bus->next){