let the user build an array of lld drivers

Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
Amir Hammad 2016-06-24 00:47:47 +02:00
parent 0432429aa6
commit 40192caee0
3 changed files with 10 additions and 13 deletions

View file

@ -30,7 +30,8 @@
BEGIN_DECLS
// pass this to usbh init
extern const void *usbh_lld_stm32f4_drivers[];
extern const void *usbh_lld_stm32f4_driver_fs;
extern const void *usbh_lld_stm32f4_driver_hs;
#ifdef USART_DEBUG
void print_channels(const void *drvdata);