hci_cmd: use opcode define for hci_rtk_configure_sco_routing

This commit is contained in:
Matthias Ringwald 2023-02-22 14:20:39 +01:00
parent 73bccf357f
commit 38c9113f71
2 changed files with 4 additions and 1 deletions

View File

@ -2608,5 +2608,5 @@ const hci_cmd_t hci_ti_write_hardware_register = {
* @brief Configure SCO routing on Realtek Controllers
*/
const hci_cmd_t hci_rtk_configure_sco_routing = {
HCI_OPCODE (0x3f, 0x93), "111111111"
HCI_OPCODE_HCI_TRK_CONFIGURE_SCO_ROUTING, "111111111"
};

View File

@ -339,7 +339,10 @@ typedef enum {
HCI_OPCODE_HCI_BCM_ENABLE_WBS = HCI_OPCODE(0x3f, 0x7e),
HCI_OPCODE_HCI_BCM_WRITE_TX_POWER_TABLE = HCI_OPCODE (0x3f, 0x1C9),
HCI_OPCODE_HCI_BCM_SET_TX_PWR = HCI_OPCODE (0x3f, 0x1A5),
HCI_OPCODE_HCI_TI_VS_CONFIGURE_DDIP = 0xFD55,
HCI_OPCODE_HCI_TRK_CONFIGURE_SCO_ROUTING = HCI_OPCODE (0x3f, 0x93),
} hci_opcode_t;
// HCI Commands - see hci_cmd.c for info on parameters