提交 3c63455f 编写于 作者: wuyangyong's avatar wuyangyong

fix lcd 9325 driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@441 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 45238ef2
...@@ -308,8 +308,6 @@ void rt_hw_lcd_set_pixel(rtgui_color_t *c, rt_base_t x, rt_base_t y) ...@@ -308,8 +308,6 @@ void rt_hw_lcd_set_pixel(rtgui_color_t *c, rt_base_t x, rt_base_t y)
{ {
unsigned short p; unsigned short p;
if ( (x>320)||(y>240) ) return;
/* get color pixel */ /* get color pixel */
p = rtgui_color_to_565p(*c); p = rtgui_color_to_565p(*c);
ili9325_SetCursor(x,y); ili9325_SetCursor(x,y);
...@@ -459,7 +457,7 @@ FINSH_FUNCTION_EXPORT(vline, draw a vline); ...@@ -459,7 +457,7 @@ FINSH_FUNCTION_EXPORT(vline, draw a vline);
void cls() void cls()
{ {
ili9325_Clear(0xF800); ili9325_Clear(0x051F);
} }
FINSH_FUNCTION_EXPORT(cls, clear screen); FINSH_FUNCTION_EXPORT(cls, clear screen);
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册