mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
example/le_streamer_client: fix index of phy_names (#630)
This commit is contained in:
parent
5ba953c2ee
commit
143eca7a03
@ -454,7 +454,7 @@ static void hci_event_handler(uint8_t packet_type, uint16_t channel, uint8_t *pa
|
|||||||
case HCI_SUBEVENT_LE_PHY_UPDATE_COMPLETE:
|
case HCI_SUBEVENT_LE_PHY_UPDATE_COMPLETE:
|
||||||
con_handle = hci_subevent_le_phy_update_complete_get_connection_handle(packet);
|
con_handle = hci_subevent_le_phy_update_complete_get_connection_handle(packet);
|
||||||
printf("- LE Connection 0x%04x: PHY update - using LE %s PHY now\n", con_handle,
|
printf("- LE Connection 0x%04x: PHY update - using LE %s PHY now\n", con_handle,
|
||||||
phy_names[hci_subevent_le_phy_update_complete_get_tx_phy(packet)]);
|
phy_names[hci_subevent_le_phy_update_complete_get_tx_phy(packet) - 1]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user