1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

MSC - Fix MSC on H7. Commit 9629f96676

broke MSC.

Details on https://github.com/betaflight/betaflight/pull/10747
This commit is contained in:
Dominic Clifton 2021-07-05 15:36:38 +02:00
parent 492f933589
commit ea58885441

View file

@ -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
* @{