Bluetooth: MICP: Fix missing guards for AICS
Some places MICP accessed AICS when it was not supported. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
ab1b43ee1a
commit
adb74f0f16
2 changed files with 29 additions and 15 deletions
|
@ -29,8 +29,10 @@ struct bt_micp_mic_ctlr {
|
|||
struct bt_gatt_discover_params discover_params;
|
||||
struct bt_conn *conn;
|
||||
|
||||
#if defined(CONFIG_BT_MICP_MIC_CTLR_AICS)
|
||||
uint8_t aics_inst_cnt;
|
||||
struct bt_aics *aics[CONFIG_BT_MICP_MIC_CTLR_MAX_AICS_INST];
|
||||
#endif /* CONFIG_BT_MICP_MIC_CTLR_AICS */
|
||||
};
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_MICP_INTERNAL_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue