mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
fix compile error when OI_DEBUG is not defined
This commit is contained in:
parent
f04a0c3191
commit
0a1f9dc7c3
@ -184,9 +184,11 @@ int btstack_sbc_decoder_sample_rate(btstack_sbc_decoder_state_t * state){
|
||||
}
|
||||
|
||||
|
||||
#ifdef OI_DEBUG
|
||||
void OI_AssertFail(char* file, int line, char* reason){
|
||||
printf("AssertFail file %s, line %d, reason %s\n", file, line, reason);
|
||||
}
|
||||
#endif
|
||||
|
||||
void btstack_sbc_decoder_init(btstack_sbc_decoder_state_t * state, btstack_sbc_mode_t mode, void (*callback)(int16_t * data, int num_samples, int num_channels, int sample_rate, void * context), void * context){
|
||||
if (sbc_decoder_state_singleton && sbc_decoder_state_singleton != state ){
|
||||
|
Loading…
Reference in New Issue
Block a user