forked from espressif/esp-idf
i2s: fixed the duplicated type name
This commit is contained in:
@@ -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 */
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user