From 490322857a2628d9470d23afdd20ea4802d15b84 Mon Sep 17 00:00:00 2001 From: dzzxzz Date: Thu, 3 Mar 2011 06:09:34 +0000 Subject: [PATCH] fixed a minor issue in mini2440/lcd_t35.c change line 383 from "lcd->parent.open = rt_lcd_close;" to "lcd->parent.close = rt_lcd_close;" git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1300 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/mini2440/lcd_t35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/mini2440/lcd_t35.c b/bsp/mini2440/lcd_t35.c index e97e03056..7ce9c8420 100644 --- a/bsp/mini2440/lcd_t35.c +++ b/bsp/mini2440/lcd_t35.c @@ -380,7 +380,7 @@ void rt_hw_lcd_init(void) lcd->parent.type = RT_Device_Class_Unknown; lcd->parent.init = rt_lcd_init; lcd->parent.open = rt_lcd_open; - lcd->parent.open = rt_lcd_close; + lcd->parent.close = rt_lcd_close; lcd->parent.control = rt_lcd_control; lcd->parent.user_data = RT_NULL; lcd->byte_per_pixel = 2;