mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
STM32 F7: Fix some errors in some macro definitions
This commit is contained in:
+1
-1
Submodule Documentation updated: caf5f9e138...044dc80d5c
@@ -235,8 +235,8 @@
|
||||
*/
|
||||
|
||||
#define DMA_BUFFER_MASK (ARMV7M_DCACHE_LINESIZE - 1)
|
||||
#define DMA_ALIGN_UP(n) (((n) + DMA_BUFFER_MASK) & ~ARMV7M_DCACHE_LINESIZE)
|
||||
#define DMA_ALIGN_DOWBN(n) ((n) & ~ARMV7M_DCACHE_LINESIZE)
|
||||
#define DMA_ALIGN_UP(n) (((n) + DMA_BUFFER_MASK) & ~DMA_BUFFER_MASK)
|
||||
#define DMA_ALIGN_DOWN(n) ((n) & ~DMA_BUFFER_MASK)
|
||||
|
||||
#ifdef CONFIG_STM32F7_ETH_ENHANCEDDESC
|
||||
# define RXDESC_SIZE 16
|
||||
|
||||
Reference in New Issue
Block a user