mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 12:39:51 +00:00
hfp_codec: fix build
This commit is contained in:
parent
9582ae6476
commit
08902725e5
@ -115,7 +115,7 @@ uint16_t hfp_codec_num_bytes_available(const hfp_codec_t * hfp_codec){
|
|||||||
return hfp_codec->write_pos - hfp_codec->read_pos;
|
return hfp_codec->write_pos - hfp_codec->read_pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
void hfp_msbc_read_from_stream(hfp_codec_t * hfp_codec, uint8_t * buf, int size){
|
void hfp_codec_read_from_stream(hfp_codec_t * hfp_codec, uint8_t * buf, int size){
|
||||||
uint16_t num_bytes_available = hfp_codec_num_bytes_available(hfp_codec);
|
uint16_t num_bytes_available = hfp_codec_num_bytes_available(hfp_codec);
|
||||||
btstack_assert(num_bytes_available >= size);
|
btstack_assert(num_bytes_available >= size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user