diff options
| author | wuyangyong <[email protected]> | 2010-02-24 08:20:41 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2010-02-24 08:20:41 +0000 |
| commit | 3c63455ffeb9474d73c9e9e948a6eb0835626dad (patch) | |
| tree | eaa8a8a97cf2c99969487a7d80876c455176c656 /bsp | |
| parent | 45238ef28d61ce9107da9b54df97aaddaddcdcfd (diff) | |
fix lcd 9325 driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@441 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32_radio/lcd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bsp/stm32_radio/lcd.c b/bsp/stm32_radio/lcd.c index 20060a1b41..bd70f454bc 100644 --- a/bsp/stm32_radio/lcd.c +++ b/bsp/stm32_radio/lcd.c @@ -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;
- if ( (x>320)||(y>240) ) return;
-
/* get color pixel */
p = rtgui_color_to_565p(*c);
ili9325_SetCursor(x,y);
@@ -459,7 +457,7 @@ FINSH_FUNCTION_EXPORT(vline, draw a vline); void cls()
{
- ili9325_Clear(0xF800);
+ ili9325_Clear(0x051F);
}
FINSH_FUNCTION_EXPORT(cls, clear screen);
#endif
|
