Skip to content

Commit

Permalink
[bsp][lpc55sxx]: update debug log (#8106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z8MAN8 committed Oct 3, 2023
1 parent 89330dd commit c021c5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bsp/lpc55sxx/Libraries/drivers/drv_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion bsp/lpc55sxx/Libraries/drivers/drv_gt911.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion bsp/lpc55sxx/Libraries/drivers/drv_st7796.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion bsp/lpc55sxx/Libraries/drivers/drv_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit c021c5c

Please sign in to comment.