hfp_codec: fix build

This commit is contained in:
Matthias Ringwald 2023-03-01 13:48:27 +01:00
parent 9582ae6476
commit 08902725e5

View File

@ -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;
}
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);
btstack_assert(num_bytes_available >= size);