[bsp][lpc55sxx]: update debug log (#8106)
This commit is contained in:
parent
89330dd269
commit
c021c5cd22
|
@ -96,7 +96,7 @@ int rt_hw_adc_init(void)
|
|||
|
||||
if (result != RT_EOK)
|
||||
{
|
||||
LOG_E("register adc0 device failed error code = %d\n", result);
|
||||
LOG_E("register adc0 device failed error code = %d", result);
|
||||
}
|
||||
|
||||
#endif /* BSP_USING_ADC0_CH0 */
|
||||
|
|
|
@ -181,7 +181,7 @@ int drv_capt_hw_init(void)
|
|||
capt_obj.bus = (struct rt_i2c_bus_device*)rt_device_find(BSP_TOUCH_I2C_BUS);
|
||||
if(capt_obj.bus == RT_NULL)
|
||||
{
|
||||
LOG_E("no %s device\r\n", BSP_TOUCH_I2C_BUS);
|
||||
LOG_E("no %s device", BSP_TOUCH_I2C_BUS);
|
||||
return -RT_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
@ -322,7 +322,7 @@ int drv_st7796_init(void)
|
|||
lcd_spi_obj.spi_dev = (struct rt_spi_device *)rt_device_find(LCD_DEVICE_NAME);
|
||||
if (!lcd_spi_obj.spi_dev)
|
||||
{
|
||||
LOG_E("lcd init run failed! can't find %s device!\n", LCD_DEVICE_NAME);
|
||||
LOG_E("lcd init run failed! can't find %s device!", LCD_DEVICE_NAME);
|
||||
return -RT_ERROR;
|
||||
}
|
||||
struct rt_spi_configuration cfg;
|
||||
|
|
|
@ -235,7 +235,7 @@ int rt_hw_wdt_init(void)
|
|||
|
||||
if (ret != RT_EOK)
|
||||
{
|
||||
LOG_E("rt device register failed %d\n", ret);
|
||||
LOG_E("rt device register failed %d", ret);
|
||||
}
|
||||
#endif /* BSP_USING_WDT */
|
||||
|
||||
|
|
Loading…
Reference in New Issue