mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
check out_rfcomm_cid if not NULL
This commit is contained in:
parent
5d1e858f3a
commit
432fe57e13
@ -2263,7 +2263,9 @@ static uint8_t rfcomm_create_channel3(bd_addr_t addr, uint8_t server_channel, ui
|
||||
channel->new_credits_incoming = initial_credits;
|
||||
|
||||
// return rfcomm_cid
|
||||
*out_rfcomm_cid = channel->rfcomm_cid;
|
||||
if (out_rfcomm_cid){
|
||||
*out_rfcomm_cid = channel->rfcomm_cid;
|
||||
}
|
||||
|
||||
// start multiplexer setup
|
||||
if (multiplexer->state != RFCOMM_MULTIPLEXER_OPEN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user