mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
l2cap: use bool for l2cap_reserve_packet_buffer
This commit is contained in:
parent
20dcdd2290
commit
a2fc00233d
@ -967,7 +967,7 @@ uint8_t *l2cap_get_outgoing_buffer(void){
|
||||
}
|
||||
|
||||
// only for L2CAP Basic Channels
|
||||
int l2cap_reserve_packet_buffer(void){
|
||||
bool l2cap_reserve_packet_buffer(void){
|
||||
return hci_reserve_packet_buffer();
|
||||
}
|
||||
|
||||
|
@ -560,8 +560,9 @@ void l2cap_request_can_send_now_event(uint16_t local_cid);
|
||||
/**
|
||||
* @brief Reserve outgoing buffer
|
||||
* @note Only for L2CAP Basic Mode Channels
|
||||
* @return true on success
|
||||
*/
|
||||
int l2cap_reserve_packet_buffer(void);
|
||||
bool l2cap_reserve_packet_buffer(void);
|
||||
|
||||
/**
|
||||
* @brief Get outgoing buffer and prepare data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user