mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-21 17:56:31 +00:00
Fix build with esp32c3
This commit is contained in:
parent
186566226b
commit
ce46d0a089
@ -138,7 +138,9 @@ int ble_hci_trans_hs_acl_tx(struct os_mbuf *om)
|
|||||||
{
|
{
|
||||||
uint16_t len = 0;
|
uint16_t len = 0;
|
||||||
uint8_t data[MYNEWT_VAL(BLE_ACL_BUF_SIZE) + 3], rc = 0;
|
uint8_t data[MYNEWT_VAL(BLE_ACL_BUF_SIZE) + 3], rc = 0;
|
||||||
|
#ifndef CONFIG_FREERTOS_UNICORE
|
||||||
bool tx_using_nimble_core = 0;
|
bool tx_using_nimble_core = 0;
|
||||||
|
#endif
|
||||||
/* If this packet is zero length, just free it */
|
/* If this packet is zero length, just free it */
|
||||||
if (OS_MBUF_PKTLEN(om) == 0) {
|
if (OS_MBUF_PKTLEN(om) == 0) {
|
||||||
os_mbuf_free_chain(om);
|
os_mbuf_free_chain(om);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user