From 2c0f82a4f07fe35bc043f68b9f58b954a16ea689 Mon Sep 17 00:00:00 2001 From: Amir Hammad Date: Fri, 8 Jul 2016 23:21:37 +0200 Subject: documentation: add some basic documentation accross the headers Signed-off-by: Amir Hammad --- src/usbh_hubbed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usbh_hubbed.c') 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 -- cgit