From 0a1f9dc7c3e8e4ed2cf5fe64b40568a7248392cb Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 12 Oct 2016 11:14:24 +0200 Subject: [PATCH] fix compile error when OI_DEBUG is not defined --- src/classic/btstack_sbc_bludroid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/classic/btstack_sbc_bludroid.c b/src/classic/btstack_sbc_bludroid.c index a1b8a919f..39d3c8bbb 100644 --- a/src/classic/btstack_sbc_bludroid.c +++ b/src/classic/btstack_sbc_bludroid.c @@ -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 ){