mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-18 21:41:16 +00:00
correct access to event address
This commit is contained in:
parent
a4f30ec095
commit
ad108f5ede
@ -248,7 +248,7 @@ void rfcomm_emit_port_configuration(rfcomm_channel_t *channel){
|
||||
event[1] = sizeof(rfcomm_rpn_data_t);
|
||||
memcpy(&event[2], (uint8_t*) &channel->rpn_data, sizeof(rfcomm_rpn_data_t));
|
||||
hci_dump_packet( HCI_EVENT_PACKET, 0, event, sizeof(event));
|
||||
(*app_packet_handler)(channel->connection, HCI_EVENT_PACKET, channel->rfcomm_cid, (uint8_t*)&event, sizeof(event));
|
||||
(*app_packet_handler)(channel->connection, HCI_EVENT_PACKET, channel->rfcomm_cid, (uint8_t*)event, sizeof(event));
|
||||
}
|
||||
|
||||
// MARK RFCOMM RPN DATA HELPER
|
||||
|
Loading…
x
Reference in New Issue
Block a user