fix(i2s): add the missed port2 for p4

This commit is contained in:
laokaiyao
2024-05-22 16:23:06 +08:00
parent 3728dac3df
commit d2468b8d0e
4 changed files with 36 additions and 4 deletions

View File

@@ -22,6 +22,9 @@ typedef enum {
I2S_NUM_0 = 0, /*!< I2S controller port 0 */
#if SOC_I2S_NUM > 1
I2S_NUM_1 = 1, /*!< I2S controller port 1 */
#endif
#if SOC_I2S_NUM > 2
I2S_NUM_2 = 2, /*!< I2S controller port 2 */
#endif
I2S_NUM_AUTO, /*!< Select whichever port is available */
} i2s_port_t;