components/bt: Add precautions for esp_vhci_host_send_packet

This commit is contained in:
baohongde 2019-01-23 18:04:01 +08:00
parent 27235e023f
commit e87d05d81f

View file

@ -326,8 +326,12 @@ bool esp_vhci_host_check_send_available(void);
/** @brief esp_vhci_host_send_packet
* 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 len the packet length
* @param len the packet length
*/
void esp_vhci_host_send_packet(uint8_t *data, uint16_t len);