summaryrefslogtreecommitdiff
path: root/include/usbh_core.h
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-09-09 18:33:26 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-09-11 13:31:48 +0200
commit8946cb522b10465d3fe3a9846158dbff4e924240 (patch)
tree42f27a561840d060a212028d3ebc5102ddbfce66 /include/usbh_core.h
parentdecb2d817d806e8ed6e77cf215e4adfef4767a50 (diff)
downloadsecure-hid-8946cb522b10465d3fe3a9846158dbff4e924240.tar.gz
secure-hid-8946cb522b10465d3fe3a9846158dbff4e924240.tar.bz2
secure-hid-8946cb522b10465d3fe3a9846158dbff4e924240.zip
lld: rework low level driver initialization
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'include/usbh_core.h')
-rw-r--r--include/usbh_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usbh_core.h b/include/usbh_core.h
index 308d53b..04dbd29 100644
--- a/include/usbh_core.h
+++ b/include/usbh_core.h
@@ -41,13 +41,14 @@
BEGIN_DECLS
typedef struct _usbh_dev_driver usbh_dev_driver_t;
+typedef struct _usbh_low_level_driver usbh_low_level_driver_t;
/**
* @brief usbh_init
* @param low_level_drivers list of the low level drivers to be used by this library
* @param device_drivers list of the device drivers that could be used with attached devices
*/
-void usbh_init(const void *low_level_drivers[], const usbh_dev_driver_t * const device_drivers[]);
+void usbh_init(const usbh_low_level_driver_t * const low_level_drivers[], const usbh_dev_driver_t * const device_drivers[]);
/**
* @brief usbh_poll