Skip to content

Commit 3216ae0

Browse files
ball-haydenrlubos
authored andcommitted
bluetooth: rpc: Correct bt_le_ext_adv_start definition
From zephyr/bluetooth/bluetooth.h, the second parameter should be `const struct` Signed-off-by: Hayden Ball <[email protected]>
1 parent c0ca6eb commit 3216ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/rpc/client/bt_rpc_gap_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ static void bt_le_ext_adv_start_param_enc(struct nrf_rpc_cbor_ctx *encoder,
834834
nrf_rpc_encode_uint(encoder, data->num_events);
835835
}
836836

837-
int bt_le_ext_adv_start(struct bt_le_ext_adv *adv, struct bt_le_ext_adv_start_param *param)
837+
int bt_le_ext_adv_start(struct bt_le_ext_adv *adv, const struct bt_le_ext_adv_start_param *param)
838838
{
839839
struct nrf_rpc_cbor_ctx ctx;
840840
int result;

0 commit comments

Comments
 (0)