We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba46e16 commit 15f32f2Copy full SHA for 15f32f2
src/class/audio/audio_device.c
@@ -109,14 +109,14 @@
109
110
// Put swap buffer in USB section only if necessary
111
#if USE_LINEAR_BUFFER
112
- #define IN_SW_BUF_MEM_ATTR TU_ATTR_ALIGNED(4)
+ #define IN_SW_BUF_MEM_ATTR
113
#else
114
- #define IN_SW_BUF_MEM_ATTR CFG_TUD_MEM_SECTION CFG_TUD_MEM_ALIGN
+ #define IN_SW_BUF_MEM_ATTR CFG_TUD_MEM_SECTION
115
#endif
116
117
- #define OUT_SW_BUF_MEM_ATTR TU_ATTR_ALIGNED(4)
+ #define OUT_SW_BUF_MEM_ATTR
118
119
- #define OUT_SW_BUF_MEM_ATTR CFG_TUD_MEM_SECTION CFG_TUD_MEM_ALIGN
+ #define OUT_SW_BUF_MEM_ATTR CFG_TUD_MEM_SECTION
120
121
122
// EP IN software buffers and mutexes
0 commit comments