From 4da37c1e130e32c4bbad13de7461e0612ca15597 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 10 Nov 2014 16:58:10 +0100 Subject: Get USB speed for device and use it for device attached client message --- src/usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usb.h') diff --git a/src/usb.h b/src/usb.h index 8eff456..da784b3 100644 --- a/src/usb.h +++ b/src/usb.h @@ -54,6 +54,7 @@ void usb_shutdown(void); const char *usb_get_serial(struct usb_device *dev); uint32_t usb_get_location(struct usb_device *dev); uint16_t usb_get_pid(struct usb_device *dev); +uint64_t usb_get_speed(struct usb_device *dev); void usb_get_fds(struct fdlist *list); int usb_get_timeout(void); int usb_send(struct usb_device *dev, const unsigned char *buf, int length); -- cgit v1.1-32-gdbae