[bsp][lpc55sxx]: update debug log (#8106)

This commit is contained in:
Shicheng Chu 2023-10-03 08:18:31 +08:00 committed by GitHub
parent 89330dd269
commit c021c5cd22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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 */

View File

@ -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;
}

View File

@ -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;

View File

@ -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 */