components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.1)
This commit is contained in:
parent
3e06ad6af9
commit
6743820bce
1 changed files with 6 additions and 2 deletions
|
@ -285,8 +285,12 @@ bool esp_vhci_host_check_send_available(void);
|
||||||
|
|
||||||
/** @brief esp_vhci_host_send_packet
|
/** @brief esp_vhci_host_send_packet
|
||||||
* host send packet to controller
|
* host send packet to controller
|
||||||
|
*
|
||||||
|
* Should not call this function from within a critical section
|
||||||
|
* or when the scheduler is suspended.
|
||||||
|
*
|
||||||
* @param data the packet point
|
* @param data the packet point
|
||||||
*,@param len the packet length
|
* @param len the packet length
|
||||||
*/
|
*/
|
||||||
void esp_vhci_host_send_packet(uint8_t *data, uint16_t len);
|
void esp_vhci_host_send_packet(uint8_t *data, uint16_t len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue