mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
fix(bt): fix unused-variable build warnings for BR/EDR examples on ESP32-S31
This commit is contained in:
committed by
ShenWeilong
parent
f0d00d7aed
commit
e2dd003a70
@@ -731,6 +731,7 @@ hci_cmd_proc_link_control_cmds(uint16_t ocf, const uint8_t *cmdbuf, uint8_t len,
|
||||
int rc;
|
||||
uint16_t conn_handle;
|
||||
|
||||
(void)conn_handle;
|
||||
(void)rspbuf;
|
||||
(void)rsplen;
|
||||
|
||||
@@ -784,6 +785,7 @@ hci_cmd_proc_controller_baseband_cmds(uint16_t ocf, const uint8_t *cmdbuf, uint8
|
||||
int rc;
|
||||
uint16_t conn_handle;
|
||||
|
||||
(void) conn_handle;
|
||||
rc = HCI_CMD_RET_STATUS(HCI_CMD_ERR_UNKNOWN_HCI_CMD);
|
||||
|
||||
switch (ocf) {
|
||||
|
||||
Reference in New Issue
Block a user