stm32/machine_i2s: Fix 16-bit stereo i2s_frame_map.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
2a91c8a888
commit
6804a8a891
|
@ -158,7 +158,7 @@ STATIC mp_obj_t machine_i2s_deinit(mp_obj_t self_in);
|
|||
STATIC const int8_t i2s_frame_map[NUM_I2S_USER_FORMATS][I2S_RX_FRAME_SIZE_IN_BYTES] = {
|
||||
{ 0, 1, -1, -1, -1, -1, -1, -1 }, // Mono, 16-bits
|
||||
{ 2, 3, 0, 1, -1, -1, -1, -1 }, // Mono, 32-bits
|
||||
{ 0, 1, 4, 5, -1, -1, -1, -1 }, // Stereo, 16-bits
|
||||
{ 0, 1, -1, -1, 2, 3, -1, -1 }, // Stereo, 16-bits
|
||||
{ 2, 3, 0, 1, 6, 7, 4, 5 }, // Stereo, 32-bits
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue