mark Bluetooth ACL packet sizes as constant

This commit is contained in:
matthias.ringwald@gmail.com 2011-08-18 16:08:33 +00:00
parent 0b8164ba67
commit 0c04217973

View File

@ -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,