diff --git a/doc/manual/docs-template/how_to.md b/doc/manual/docs-template/how_to.md index be1b5d5e7..554022e60 100644 --- a/doc/manual/docs-template/how_to.md +++ b/doc/manual/docs-template/how_to.md @@ -72,6 +72,12 @@ POSIX platform properties: +Chipset properties: + +| \#define | Description | +|------------------------|-------------------------------------------------------| +| HAVE_BCM_PCM_NBS_16KHZ | NBS is up/downsampled, use 16 kHz sample rate for NBS | + ### ENABLE_* directives {#sec:enableDirectives} BTstack properties: diff --git a/src/classic/hfp.c b/src/classic/hfp.c index eae2a1650..acdb51e65 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -2198,7 +2198,9 @@ void hfp_prepare_for_sco(hfp_connection_t * hfp_connection){ #endif #ifdef ENABLE_BCM_PCM_WBS +#ifndef HAVE_BCM_PCM_NBS_16KHZ hfp_connection->bcm_send_write_i2spcm_interface_param = true; +#endif if (hfp_connection->negotiated_codec == HFP_CODEC_MSBC){ hfp_connection->bcm_send_enable_wbs = true; }