diff options
Diffstat (limited to 'stack/avrc/avrc_opt.c')
-rw-r--r-- | stack/avrc/avrc_opt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stack/avrc/avrc_opt.c b/stack/avrc/avrc_opt.c index 7711655..8902ac9 100644 --- a/stack/avrc/avrc_opt.c +++ b/stack/avrc/avrc_opt.c @@ -40,13 +40,8 @@ static BT_HDR * avrc_vendor_msg(tAVRC_MSG_VENDOR *p_msg) WC_ASSERT(p_msg != NULL); -#if AVRC_METADATA_INCLUDED == TRUE - WC_ASSERT(AVRC_META_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len)); - if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_META_CMD_POOL_ID)) != NULL) -#else WC_ASSERT(AVRC_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len)); if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL) -#endif { p_cmd->offset = AVCT_MSG_OFFSET; p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; |