File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
applications/nrf5340_audio/src/modules Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,11 @@ static nrfx_i2s_config_t cfg = {
4646 .mode = NRF_I2S_MODE_MASTER ,
4747 .format = NRF_I2S_FORMAT_I2S ,
4848 .alignment = NRF_I2S_ALIGN_LEFT ,
49- .ratio = I2S_RATIO ,
50- .mck_setup = 0x66666000 ,
49+ .prescalers = {
50+ .ratio = I2S_RATIO ,
51+ .mck_setup = 0x66666000 ,
52+ .enable_bypass = false,
53+ },
5154#if (CONFIG_AUDIO_BIT_DEPTH_16 )
5255 .sample_width = NRF_I2S_SWIDTH_16BIT ,
5356#elif (CONFIG_AUDIO_BIT_DEPTH_32 )
@@ -57,7 +60,6 @@ static nrfx_i2s_config_t cfg = {
5760#endif /* (CONFIG_AUDIO_BIT_DEPTH_16) */
5861 .channels = NRF_I2S_CHANNELS_STEREO ,
5962 .clksrc = NRF_I2S_CLKSRC_ACLK ,
60- .enable_bypass = false,
6163};
6264
6365static i2s_blk_comp_callback_t i2s_blk_comp_callback ;
You can’t perform that action at this time.
0 commit comments