mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Merge pull request #11804 from hydra/bf-fix-h7-msc
MSC - Fix MSC on H7.
This commit is contained in:
commit
266682b6ff
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ __ALIGN_BEGIN static uint8_t USBD_MSC_DeviceQualifierDesc[USB_LEN_DEV_QUALIFIER_
|
|||
* @}
|
||||
*/
|
||||
|
||||
static DMA_DATA_ZERO_INIT USBD_MSC_BOT_HandleTypeDef ClassData;
|
||||
// Buffer must be aligned for DMAs
|
||||
static DMA_RW_AXI USBD_MSC_BOT_HandleTypeDef ClassData __attribute__((aligned(32)));
|
||||
|
||||
/** @defgroup MSC_CORE_Private_Functions
|
||||
* @{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue