Skip to content

Commit c021c5c

Browse files
authored
[bsp][lpc55sxx]: update debug log (#8106)
1 parent 89330dd commit c021c5c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bsp/lpc55sxx/Libraries/drivers/drv_adc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int rt_hw_adc_init(void)
9696

9797
if (result != RT_EOK)
9898
{
99-
LOG_E("register adc0 device failed error code = %d\n", result);
99+
LOG_E("register adc0 device failed error code = %d", result);
100100
}
101101

102102
#endif /* BSP_USING_ADC0_CH0 */

bsp/lpc55sxx/Libraries/drivers/drv_gt911.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ int drv_capt_hw_init(void)
181181
capt_obj.bus = (struct rt_i2c_bus_device*)rt_device_find(BSP_TOUCH_I2C_BUS);
182182
if(capt_obj.bus == RT_NULL)
183183
{
184-
LOG_E("no %s device\r\n", BSP_TOUCH_I2C_BUS);
184+
LOG_E("no %s device", BSP_TOUCH_I2C_BUS);
185185
return -RT_ERROR;
186186
}
187187

bsp/lpc55sxx/Libraries/drivers/drv_st7796.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ int drv_st7796_init(void)
322322
lcd_spi_obj.spi_dev = (struct rt_spi_device *)rt_device_find(LCD_DEVICE_NAME);
323323
if (!lcd_spi_obj.spi_dev)
324324
{
325-
LOG_E("lcd init run failed! can't find %s device!\n", LCD_DEVICE_NAME);
325+
LOG_E("lcd init run failed! can't find %s device!", LCD_DEVICE_NAME);
326326
return -RT_ERROR;
327327
}
328328
struct rt_spi_configuration cfg;

bsp/lpc55sxx/Libraries/drivers/drv_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ int rt_hw_wdt_init(void)
235235

236236
if (ret != RT_EOK)
237237
{
238-
LOG_E("rt device register failed %d\n", ret);
238+
LOG_E("rt device register failed %d", ret);
239239
}
240240
#endif /* BSP_USING_WDT */
241241

0 commit comments

Comments
 (0)