Skip to content

Commit de56740

Browse files
Thalleynordicjm
authored andcommitted
[nrf fromtree] tests: Bluetooth: tester: Removed bad guard in btp_gap.h
As per the Zephyr coding guidelines, functions declarations in header files should not be conditionally compiled. This fixes an issue with tester_gap_clear_adv_instance where btp_gap.c always expect it to be available. Signed-off-by: Emil Gydesen <[email protected]> (cherry picked from commit 318067e)
1 parent a8118bc commit de56740

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/bluetooth/tester/src/btp/btp_gap.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ struct btp_gap_periodic_biginfo_ev {
578578
uint8_t encryption;
579579
} __packed;
580580

581-
#if defined(CONFIG_BT_EXT_ADV)
582581
struct bt_le_per_adv_param;
583582
struct bt_le_per_adv_sync_param;
584583
struct bt_le_adv_param;
@@ -599,4 +598,3 @@ int tester_gap_padv_start(struct bt_le_ext_adv *ext_adv);
599598
int tester_gap_padv_stop(struct bt_le_ext_adv *ext_adv);
600599
int tester_gap_padv_create_sync(struct bt_le_per_adv_sync_param *create_params);
601600
int tester_gap_padv_stop_sync(void);
602-
#endif /* defined(CONFIG_BT_EXT_ADV) */

0 commit comments

Comments
 (0)