i2s: fixed the duplicated type name

This commit is contained in:
laokaiyao
2022-09-05 19:08:46 +08:00
parent 4532e6e0b2
commit 0f0baa5bb4
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ typedef struct {
int mclk; /*!< MCK out pin, shared by tx/rx*/ int mclk; /*!< MCK out pin, shared by tx/rx*/
} i2s_controller_t; } i2s_controller_t;
struct i2s_channel_t { struct i2s_channel_obj_t {
/* Channel basic information */ /* Channel basic information */
i2s_controller_t *controller; /*!< Parent pointer to controller object */ i2s_controller_t *controller; /*!< Parent pointer to controller object */
i2s_comm_mode_t mode; /*!< i2s channel communication mode */ i2s_comm_mode_t mode; /*!< i2s channel communication mode */

View File

@@ -63,7 +63,7 @@ typedef struct {
*/ */
} i2s_event_data_t; } i2s_event_data_t;
typedef struct i2s_channel_t *i2s_chan_handle_t; /*!< i2s channel handle, the control unit of the i2s driver*/ typedef struct i2s_channel_obj_t *i2s_chan_handle_t; /*!< i2s channel object handle, the control unit of the i2s driver*/
/** /**
* @brief I2S event callback * @brief I2S event callback