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:
parent
a8eff5c965
commit
d98ba087f4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue