mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-01 18:16:11 +00:00
Merge pull request #667 from ccollins476ad/apollo2-timers
Apollo2 - Tickless idle and HAL timer implementation X-Original-Commit: 240db83bf1f9106e667b102f818f00cc8e24d261
This commit is contained in:
@@ -174,6 +174,9 @@ ble_hci_emspi_tx_chunk(const uint8_t *data, int len, int *out_bytes_txed)
|
||||
uint8_t buf_size;
|
||||
int rc;
|
||||
|
||||
/* Silence spurious "may be used uninitialized" warning. */
|
||||
*out_bytes_txed = 0;
|
||||
|
||||
ble_hci_emspi_initiate_write();
|
||||
|
||||
rc = ble_hci_emspi_write_hdr(BLE_HCI_EMSPI_OP_TX, &buf_size);
|
||||
@@ -182,7 +185,6 @@ ble_hci_emspi_tx_chunk(const uint8_t *data, int len, int *out_bytes_txed)
|
||||
}
|
||||
|
||||
if (buf_size == 0) {
|
||||
*out_bytes_txed = 0;
|
||||
rc = 0;
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user