summaryrefslogtreecommitdiff
path: root/src/usbh_lld_stm32f4.c
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-07-08 23:27:18 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-07-08 23:45:57 +0200
commit1c8aa9d315ff09194df53d9b1af755e03168cd64 (patch)
treeecca6f997045397ebd6bd4caa1cc472c1ab5b829 /src/usbh_lld_stm32f4.c
parent2c0f82a4f07fe35bc043f68b9f58b954a16ea689 (diff)
downloadsecure-hid-1c8aa9d315ff09194df53d9b1af755e03168cd64.tar.gz
secure-hid-1c8aa9d315ff09194df53d9b1af755e03168cd64.tar.bz2
secure-hid-1c8aa9d315ff09194df53d9b1af755e03168cd64.zip
rename usbh_driver to usbh_low_level_driver
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'src/usbh_lld_stm32f4.c')
-rw-r--r--src/usbh_lld_stm32f4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usbh_lld_stm32f4.c b/src/usbh_lld_stm32f4.c
index 271943a..83526a9 100644
--- a/src/usbh_lld_stm32f4.c
+++ b/src/usbh_lld_stm32f4.c
@@ -998,7 +998,7 @@ static enum USBH_SPEED root_speed(void *drvdata)
*/
void print_channels(const void *lld)
{
- usbh_lld_stm32f4_driver_data_t *dev = ((usbh_driver_t *)lld)->driver_data;
+ usbh_lld_stm32f4_driver_data_t *dev = ((usbh_low_level_driver_t *)lld)->driver_data;
channel_t *channels = dev->channels;
int32_t i;
LOG_PRINTF("\nCHANNELS: \n");
@@ -1017,7 +1017,7 @@ static usbh_lld_stm32f4_driver_data_t driver_data_fs = {
.channels = channels_fs,
.num_channels = NUM_CHANNELS_FS
};
-static const usbh_driver_t driver_fs = {
+static const usbh_low_level_driver_t driver_fs = {
.init = init,
.poll = poll,
.read = read,
@@ -1037,7 +1037,7 @@ static usbh_lld_stm32f4_driver_data_t driver_data_hs = {
.channels = channels_hs,
.num_channels = NUM_CHANNELS_HS
};
-static const usbh_driver_t driver_hs = {
+static const usbh_low_level_driver_t driver_hs = {
.init = init,
.poll = poll,
.read = read,