tests: BSIM: Bluetooth: Audio: Fix includes

Updates the includes in a a few files to
avoid including unused header files and include the
ones that are used.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2025-04-23 15:25:20 +02:00 committed by Benjamin Cabé
parent b04d6386db
commit d38b0e9ecd
8 changed files with 9 additions and 8 deletions

View File

@ -4,6 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <string.h>
#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/logging/log.h>
@ -11,7 +14,6 @@
#include <zephyr/net_buf.h>
#include "common.h"
#include <string.h>
LOG_MODULE_REGISTER(bap_stream_rx, LOG_LEVEL_INF);

View File

@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/iso.h>
#include <zephyr/net_buf.h>

View File

@ -7,7 +7,7 @@
#ifndef STREAM_TX_H
#define STREAM_TX_H
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/audio/bap.h>

View File

@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stddef.h>
#include <stdint.h>
#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/audio/ccp.h>
@ -89,7 +88,7 @@ static void test_main(void)
setup_connectable_adv(&ext_adv);
printk("Advertising successfully started\n");
LOG_INF("Advertising successfully started\n");
WAIT_FOR_FLAG(flag_connected);

View File

@ -3,8 +3,9 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <zephyr/autoconf.h>

View File

@ -5,7 +5,6 @@
*/
#include <stddef.h>
#include <stdint.h>
#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/bluetooth.h>

View File

@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdint.h>
#include <stddef.h>
#include <zephyr/autoconf.h>

View File

@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stddef.h>
#include <stdint.h>
#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/audio/bap.h>