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:
parent
b04d6386db
commit
d38b0e9ecd
@ -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);
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <zephyr/autoconf.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <zephyr/autoconf.h>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user