提交 3efb7d5c 编写于 作者: C chaos.proton@gmail.com

remove the unused key.c and rt_hw_key_init

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1794 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 22a9d6f3
...@@ -15,7 +15,7 @@ if GetDepend('RT_USING_LWIP'): ...@@ -15,7 +15,7 @@ if GetDepend('RT_USING_LWIP'):
src_drv += ['enc28j60.c'] + ['dm9000a.c'] src_drv += ['enc28j60.c'] + ['dm9000a.c']
if GetDepend('RT_USING_RTGUI'): if GetDepend('RT_USING_RTGUI'):
src_drv += ['key.c', 'touch.c', 'calibration.c'] src_drv += ['touch.c', 'calibration.c']
if GetDepend('RT_USING_RTGUI'): if GetDepend('RT_USING_RTGUI'):
if rtconfig.RT_USING_LCD_TYPE == 'FMT0371': if rtconfig.RT_USING_LCD_TYPE == 'FMT0371':
......
...@@ -129,7 +129,6 @@ void rt_init_thread_entry(void* parameter) ...@@ -129,7 +129,6 @@ void rt_init_thread_entry(void* parameter)
extern void rtgui_startup(); extern void rtgui_startup();
extern void rt_hw_lcd_init(); extern void rt_hw_lcd_init();
extern void rtgui_touch_hw_init(void); extern void rtgui_touch_hw_init(void);
extern void rt_hw_key_init(void);
rt_device_t lcd; rt_device_t lcd;
...@@ -139,9 +138,6 @@ void rt_init_thread_entry(void* parameter) ...@@ -139,9 +138,6 @@ void rt_init_thread_entry(void* parameter)
/* init touch panel */ /* init touch panel */
rtgui_touch_hw_init(); rtgui_touch_hw_init();
/* init keypad */
rt_hw_key_init();
/* re-init device driver */ /* re-init device driver */
rt_device_init_all(); rt_device_init_all();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册