mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 02:33:32 +08:00
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
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user