Browse Source

show rtgui on lcd

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@917 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc 14 years ago
parent
commit
d98ba087f4
1 changed files with 5 additions and 4 deletions
  1. 5 4
      bsp/mini2440/application.c

+ 5 - 4
bsp/mini2440/application.c

@@ -38,8 +38,7 @@
 
 #ifdef RT_USING_RTGUI
 #include <rtgui/rtgui.h>
-extern void rt_hw_lcd_init(void);
-extern void rt_hw_key_init(void);
+extern void rt_hw_touch_init(void);
 #endif
 
 void rt_init_thread_entry(void* parameter)
@@ -67,8 +66,10 @@ void rt_init_thread_entry(void* parameter)
 
 #ifdef RT_USING_RTGUI
 	{
-		rtgui_system_server_init();
-		
+		/* init touch panel */
+		rtgui_touch_hw_init();	
+
+		/* startup rtgui */
 		rtgui_startup();
 	}
 #endif