mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
libatrf: new function usb_rescan to force next open_usb to scan tree again
- tools/include/usbopen.h (usb_rescan), tools/lib/usbopen.c (initialized, initialize, usb_rescan): usb_rescan forces a re-initialization of libusb and a new scan of the USB device tree
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
usb_dev_handle *open_usb(uint16_t default_vendor, uint16_t default_product);
|
||||
void usb_rescan(void);
|
||||
void parse_usb_id(const char *id);
|
||||
void restrict_usb_path(const char *path);
|
||||
void usb_unrestrict(void);
|
||||
|
||||
Reference in New Issue
Block a user