change ch438 on nuttx

This commit is contained in:
wgzAIIT 2022-05-09 17:29:49 +08:00
parent de273145c3
commit ee132df28a
3 changed files with 375 additions and 424 deletions

View File

@ -184,12 +184,7 @@ int imxrt_bringup(void)
#endif
#ifdef CONFIG_BSP_USING_CH438
ret = board_ch438_initialize();
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize ch438 Driver: %d\n", ret);
}
board_ch438_initialize();
#endif
UNUSED(ret);

View File

@ -356,7 +356,7 @@
* Public Function Prototypes
****************************************************************************/
#ifdef CONFIG_BSP_USING_CH438
int board_ch438_initialize(void);
void board_ch438_initialize(void);
#endif
#endif /* __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_CH438_H */