diff --git a/cpu/br23/audio_dec/audio_dec_pc.c b/cpu/br23/audio_dec/audio_dec_pc.c index 701169b7..ce180d77 100644 --- a/cpu/br23/audio_dec/audio_dec_pc.c +++ b/cpu/br23/audio_dec/audio_dec_pc.c @@ -17,7 +17,11 @@ #include "app_main.h" #include "clock_cfg.h" #include "media/pcm_decoder.h" + +#if TCFG_USER_TWS_ENABLE #include "bt_tws.h" +#endif + #include "media/audio_stream.h" #if (SOUNDCARD_ENABLE) diff --git a/cpu/br25/audio_dec/audio_dec_pc.c b/cpu/br25/audio_dec/audio_dec_pc.c index 9a493aff..b4dcf0b3 100644 --- a/cpu/br25/audio_dec/audio_dec_pc.c +++ b/cpu/br25/audio_dec/audio_dec_pc.c @@ -17,7 +17,10 @@ #include "app_main.h" #include "clock_cfg.h" #include "media/pcm_decoder.h" + +#if TCFG_USER_TWS_ENABLE #include "bt_tws.h" +#endif #if TCFG_UI_ENABLE #include "ui/ui_api.h"