Skip to content

Commit ec9c666

Browse files
authored
Merge pull request hathach#1965 from HiFiPhile/align
UAC2: fix feedback EP buffer alignment.
2 parents 096b6ec + 42decd9 commit ec9c666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class/audio/audio_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ typedef struct
312312

313313
#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP
314314
struct {
315-
uint32_t value; // Feedback value for asynchronous mode (in 16.16 format).
315+
CFG_TUSB_MEM_ALIGN uint32_t value; // Feedback value for asynchronous mode (in 16.16 format).
316316
uint32_t min_value; // min value according to UAC2 FMT-2.0 section 2.3.1.1.
317317
uint32_t max_value; // max value according to UAC2 FMT-2.0 section 2.3.1.1.
318318

0 commit comments

Comments
 (0)