Skip to content
Commit 51e0c528 authored by Vit Stanicek's avatar Vit Stanicek Committed by Benjamin Cabé
Browse files

samples: i2s_codec: Factorise initial loop count



Replace hard-wired constant "2" with CONFIG_I2S_INIT_BUFFERS in the loop
where audio data is read and written.

Signed-off-by: default avatarVit Stanicek <vit.stanicek@nxp.com>
parent d11474ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment