summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-07-08 23:21:37 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-07-08 23:45:57 +0200
commit2c0f82a4f07fe35bc043f68b9f58b954a16ea689 (patch)
tree857bf067cf88fe1e4b8182020791a286173bfddd /src
parente61ed66174df0bf889586c757aa6a9d23d9401c0 (diff)
downloadsecure-hid-2c0f82a4f07fe35bc043f68b9f58b954a16ea689.tar.gz
secure-hid-2c0f82a4f07fe35bc043f68b9f58b954a16ea689.tar.bz2
secure-hid-2c0f82a4f07fe35bc043f68b9f58b954a16ea689.zip
documentation: add some basic documentation accross the headers
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/usbh_hubbed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usbh_hubbed.c b/src/usbh_hubbed.c
index b631263..7ffc83d 100644
--- a/src/usbh_hubbed.c
+++ b/src/usbh_hubbed.c
@@ -163,13 +163,13 @@ static void device_register(void *descriptors, uint16_t descriptors_len, usbh_de
LOG_PRINTF("Device NOT Initialized\n");
}
-void usbh_init(const void *drivers_lld[], const usbh_dev_driver_t * const device_drivers[])
+void usbh_init(const void *low_level_drivers[], const usbh_dev_driver_t * const device_drivers[])
{
- if (!drivers_lld) {
+ if (!low_level_drivers) {
return;
}
- usbh_data.lld_drivers = (const usbh_driver_t **)drivers_lld;
+ usbh_data.lld_drivers = (const usbh_driver_t **)low_level_drivers;
usbh_data.dev_drivers = device_drivers;
// TODO: init structures