Skip to content

Commit 79b7b34

Browse files
committed
Add back A2DP_I2S_MAX_WRITE_SIZE
1 parent 7300b08 commit 79b7b34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
# define A2DP_SPP_SUPPORT (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0))
2121
#endif
2222

23+
// Maximum write size
24+
#ifndef A2DP_I2S_MAX_WRITE_SIZE
25+
# define A2DP_I2S_MAX_WRITE_SIZE 1024 * 5
26+
#endif
2327

2428
// Maximum wait time for status change in 100 ms when calling end()
2529
#ifndef A2DP_DISCONNECT_LIMIT

0 commit comments

Comments
 (0)