Skip to content

Commit 8f7ddb6

Browse files
Ensure sample aligment on PWMAudio example (#2437)
1 parent 3e24400 commit 8f7ddb6

File tree

1 file changed

+1
-1
lines changed
  • libraries/PWMAudio/examples/PlayRaw

1 file changed

+1
-1
lines changed

libraries/PWMAudio/examples/PlayRaw/wav.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
unsigned char out_raw[] = {
1+
const unsigned char out_raw[] __attribute__((aligned((2)))) = {
22
0xbd, 0x1b, 0xd1, 0x1a, 0x41, 0x1b, 0x63, 0x1a, 0xdf, 0x19, 0xea, 0x19,
33
0x18, 0x19, 0x50, 0x19, 0x2e, 0x1a, 0xdc, 0x19, 0x90, 0x1a, 0x8d, 0x1a,
44
0x60, 0x19, 0x31, 0x19, 0x81, 0x17, 0x79, 0x16, 0xda, 0x16, 0x0b, 0x16,

0 commit comments

Comments
 (0)