mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
fix daemon event generated by rfcomm
This commit is contained in:
parent
e17cb0db6c
commit
c57c878789
@ -1724,7 +1724,7 @@ static void rfcomm_channel_state_machine(rfcomm_channel_t *channel, rfcomm_chann
|
||||
break;
|
||||
case CH_EVT_RCVD_CREDITS: {
|
||||
// notify daemon -> might trigger re-try of parked connections
|
||||
uint8_t event[1] = { DAEMON_EVENT_NEW_RFCOMM_CREDITS };
|
||||
uint8_t event[2] = { DAEMON_EVENT_NEW_RFCOMM_CREDITS, 0 };
|
||||
(*app_packet_handler)(channel->connection, DAEMON_EVENT_PACKET, channel->rfcomm_cid, event, sizeof(event));
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user