Skip to content

Commit

Permalink
Add back A2DP_I2S_MAX_WRITE_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Oct 4, 2024
1 parent 7300b08 commit 79b7b34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
# define A2DP_SPP_SUPPORT (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0))
#endif

// Maximum write size
#ifndef A2DP_I2S_MAX_WRITE_SIZE
# define A2DP_I2S_MAX_WRITE_SIZE 1024 * 5
#endif

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

0 comments on commit 79b7b34

Please sign in to comment.