File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
bsp/lpc55sxx/Libraries/drivers Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments