mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
mark Bluetooth ACL packet sizes as constant
This commit is contained in:
parent
0b8164ba67
commit
0c04217973
@ -347,7 +347,7 @@ static void hci_shutdown_connection(hci_connection_t *conn){
|
||||
hci_emit_nr_connections_changed();
|
||||
}
|
||||
|
||||
static uint16_t packet_type_sizes[] = {
|
||||
static const uint16_t packet_type_sizes[] = {
|
||||
0, HCI_ACL_2DH1_SIZE, HCI_ACL_3DH1_SIZE, HCI_ACL_DM1_SIZE,
|
||||
HCI_ACL_DH1_SIZE, 0, 0, 0,
|
||||
HCI_ACL_2DH3_SIZE, HCI_ACL_3DH3_SIZE, HCI_ACL_DM3_SIZE, HCI_ACL_DH3_SIZE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user