Skip to content

Commit

Permalink
runtime memory alloocation for feat ISO
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Aug 28, 2024
1 parent 2cc78b7 commit ad9822f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Examples/MAX32655/Bluetooth/BLE5_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include "board.h"
#include "pal_timer.h"


#define MAX_PRIORITY ((0x1 << __NVIC_PRIO_BITS) - 1)

/*! \brief UART TX buffer size */
Expand Down Expand Up @@ -119,8 +120,8 @@ static void mainWsfInit(void)
12 + HCI_ISO_DL_MAX_LEN + mainLlRtCfg.maxAclLen + 4 + BB_DATA_PDU_TAILROOM;

/* Use single pool for data buffers. */
#if (BT_VER > 9)
WSF_ASSERT(mainLlRtCfg.maxAclLen == mainLlRtCfg.maxIsoSduLen);
#if (BT_VER > 9) && INIT_FEAT_ISO
mainLlRtCfg.maxIsoSduLen = mainLlRtCfg.maxAclLen;
#endif

/* Ensure pool buffers are ordered correctly. */
Expand Down

0 comments on commit ad9822f

Please sign in to comment.