summaryrefslogtreecommitdiff
path: root/bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c')
-rw-r--r--bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c b/bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c
index c1a6660819..260fb09f0e 100644
--- a/bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c
+++ b/bsp/lpc54608-LPCXpresso/drivers/drv_lcd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -7,7 +7,7 @@
* Date Author Notes
* 2017-08-08 Yang the first version
*/
-
+
#include <board.h>
#include <rtdevice.h>
#include <drv_lcd.h>
@@ -427,7 +427,7 @@ void rt_hw_lcd_init(void)
_rt_framebuffer = rt_malloc_align(sizeof(rt_uint16_t) * RT_HW_LCD_HEIGHT * RT_HW_LCD_WIDTH, 32);
if (_rt_framebuffer == RT_NULL) return; /* no memory yet */
_lcd_info.bits_per_pixel = LCD_BITS_PER_PIXEL;
- _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565; // RTGRAPHIC_PIXEL_FORMAT_ARGB888
+ _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565; // RTGRAPHIC_PIXEL_FORMAT_ARGB888
_lcd_info.framebuffer = (void *)_rt_framebuffer;
_lcd_info.width = RT_HW_LCD_WIDTH;
_lcd_info.height = RT_HW_LCD_HEIGHT;