Skip to content

Commit 8161bee

Browse files
committed
Fix build with esp32c3
1 parent 9591e47 commit 8161bee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nimble/esp_port/esp-hci/src/esp_nimble_hci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ int ble_hci_trans_hs_acl_tx(struct os_mbuf *om)
138138
{
139139
uint16_t len = 0;
140140
uint8_t data[MYNEWT_VAL(BLE_ACL_BUF_SIZE) + 3], rc = 0;
141+
#ifndef CONFIG_FREERTOS_UNICORE
141142
bool tx_using_nimble_core = 0;
143+
#endif
142144
/* If this packet is zero length, just free it */
143145
if (OS_MBUF_PKTLEN(om) == 0) {
144146
os_mbuf_free_chain(om);

0 commit comments

Comments
 (0)