1
0
Fork 0
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:
Jan Post 2022-09-16 10:17:43 +02:00 committed by GitHub
commit 266682b6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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