Samples: Bluetooth: Add () to AUDIO_RING_BUF_BYTES for broadcast source
The BAP broadcast source sample did not properly use parentheses for the macro, potentially causing issues. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
40de2cbc0d
commit
38d201e063
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ static struct bt_bap_lc3_preset preset_active = BT_BAP_LC3_BROADCAST_PRESET_24_2
|
|||
#define USB_BYTES_PER_SAMPLE 2
|
||||
#define USB_CHANNELS 2
|
||||
|
||||
#define RING_BUF_USB_FRAMES 20
|
||||
#define AUDIO_RING_BUF_BYTES USB_NUM_SAMPLES * USB_BYTES_PER_SAMPLE * RING_BUF_USB_FRAMES
|
||||
#define RING_BUF_USB_FRAMES 20
|
||||
#define AUDIO_RING_BUF_BYTES (USB_NUM_SAMPLES * USB_BYTES_PER_SAMPLE * RING_BUF_USB_FRAMES)
|
||||
#else /* !defined(CONFIG_USB_DEVICE_AUDIO) */
|
||||
|
||||
#include <math.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue