show rtgui on lcd

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@917 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc 2010-09-20 00:11:33 +00:00
parent a8eff5c965
commit d98ba087f4
1 changed files with 5 additions and 4 deletions

View File

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