File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
bsp/Infineon/libraries/HAL_Drivers Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 *
66 * Change Logs:
7- * Date Author Notes
8- * 2022-07-20 Rbb666 first version
7+ * Date Author Notes
8+ * 2022-07-20 Rbb666 first version
9+ * 2025-05-30 Passionate0424 Rename the initialization function
910 */
1011
1112#include <board.h>
@@ -164,7 +165,7 @@ static rt_err_t ifx_i2c_bus_unlock(const struct ifx_soft_i2c_config *cfg)
164165}
165166
166167/* I2C initialization function */
167- int rt_hw_i2c_init (void )
168+ int rt_hw_soft_i2c_init (void )
168169{
169170 rt_size_t obj_num = sizeof (i2c_obj ) / sizeof (struct ifx_i2c );
170171 rt_err_t result ;
@@ -187,6 +188,6 @@ int rt_hw_i2c_init(void)
187188
188189 return RT_EOK ;
189190}
190- INIT_BOARD_EXPORT (rt_hw_i2c_init );
191+ INIT_BOARD_EXPORT (rt_hw_soft_i2c_init );
191192
192193#endif /* RT_USING_I2C */
You can’t perform that action at this time.
0 commit comments