[Horus] Correct alignment for massstorage buffer (increases speed)

This commit is contained in:
Bertrand Songis
2016-07-31 21:34:10 +02:00
parent c2ed47d5d3
commit 351780bf17
@@ -78,7 +78,9 @@ uint8_t MSC_BOT_Status;
#pragma data_alignment=4
#endif
#endif /* USB_OTG_HS_INTERNAL_DMA_ENABLED */
__ALIGN_BEGIN uint8_t MSC_BOT_Data[MSC_MEDIA_PACKET] __ALIGN_END ;
#include "definitions.h"
uint8_t MSC_BOT_Data[MSC_MEDIA_PACKET] __DMA;
#ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED
#if defined ( __ICCARM__ ) /*!< IAR Compiler */