Merge pull request #427 from andreika-git/HAL_USE_USB_MSD_fix
ifndef HAL_USE_USB_MSD compilation fix
This commit is contained in:
commit
8eb5ac4139
|
@ -19,6 +19,8 @@
|
|||
#include "hal_usb_msd.h"
|
||||
#include "usb_msd_cfg.h"
|
||||
|
||||
#if HAL_USE_USB_MSD
|
||||
|
||||
/*
|
||||
* must be 64 for full speed and 512 for high speed
|
||||
*/
|
||||
|
@ -228,3 +230,4 @@ const USBConfig msdusbcfg = {
|
|||
NULL
|
||||
};
|
||||
|
||||
#endif /* HAL_USE_USB_MSD */
|
||||
|
|
|
@ -54,10 +54,11 @@ EXTERN_ENGINE;
|
|||
|
||||
extern board_configuration_s *boardConfiguration;
|
||||
|
||||
#if HAL_USE_USB_MSD
|
||||
//static USBDriver *ms_usb_driver = &USBD1;
|
||||
//static USBMassStorageDriver UMSD1;
|
||||
extern const USBConfig msdusbcfg;
|
||||
|
||||
#endif /* HAL_USE_USB_MSD */
|
||||
|
||||
|
||||
#define PUSHPULLDELAY 500
|
||||
|
|
Loading…
Reference in New Issue