mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-10 14:58:27 +00:00
[fix][i2s] fix i2s fifo config
This commit is contained in:
parent
c05ee5a9c8
commit
42dab3efea
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ int i2s_open(struct device *dev, uint16_t oflag)
|
|||
|
||||
fifoCfg.txfifoDmaEnable = (oflag & DEVICE_OFLAG_DMA_TX) ? ENABLE : DISABLE;
|
||||
fifoCfg.rxfifoDmaEnable = (oflag & DEVICE_OFLAG_DMA_RX) ? ENABLE : DISABLE;
|
||||
fifoCfg.txFifoLevel = i2s_device->fifo_threshold;
|
||||
fifoCfg.rxFifoLevel = i2s_device->fifo_threshold;
|
||||
|
||||
/* I2S Init */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue