l2cap: use bool for l2cap_reserve_packet_buffer

This commit is contained in:
Matthias Ringwald 2021-09-06 14:57:38 +02:00
parent 20dcdd2290
commit a2fc00233d
2 changed files with 3 additions and 2 deletions

View File

@ -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();
}

View File

@ -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.