diff --git a/bsp/mini2440/lcd_a70.c b/bsp/mini2440/lcd_a70.c index 1337919ce..2901bfb83 100644 --- a/bsp/mini2440/lcd_a70.c +++ b/bsp/mini2440/lcd_a70.c @@ -229,7 +229,7 @@ void rt_hw_lcd_init(void) if (lcd == RT_NULL) return; /* no memory yet */ _lcd_info.bits_per_pixel = 16; - _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565; + _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565P; _lcd_info.framebuffer = (void*)_rt_framebuffer; _lcd_info.width = LCD_WIDTH; _lcd_info.height = LCD_HEIGHT; diff --git a/bsp/mini2440/lcd_n35.c b/bsp/mini2440/lcd_n35.c index 768ab932e..268a8066d 100644 --- a/bsp/mini2440/lcd_n35.c +++ b/bsp/mini2440/lcd_n35.c @@ -230,7 +230,7 @@ void rt_hw_lcd_init(void) if (lcd == RT_NULL) return; /* no memory yet */ _lcd_info.bits_per_pixel = 16; - _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565; + _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565P; _lcd_info.framebuffer = (void*)_rt_framebuffer; _lcd_info.width = LCD_WIDTH; _lcd_info.height = LCD_HEIGHT; diff --git a/bsp/mini2440/lcd_t35.c b/bsp/mini2440/lcd_t35.c index 310bc0ee5..5987b78e9 100644 --- a/bsp/mini2440/lcd_t35.c +++ b/bsp/mini2440/lcd_t35.c @@ -231,7 +231,7 @@ void rt_hw_lcd_init(void) if (lcd == RT_NULL) return; /* no memory yet */ _lcd_info.bits_per_pixel = 16; - _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565; + _lcd_info.pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565P; _lcd_info.framebuffer = (void*)_rt_framebuffer; _lcd_info.width = LCD_WIDTH; _lcd_info.height = LCD_HEIGHT;