diff options
| author | [email protected] <[email protected]> | 2011-11-17 11:28:27 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-11-17 11:28:27 +0000 |
| commit | 3efb7d5cdaa376b294cc0aeac802a154ac6adf7d (patch) | |
| tree | a803afa9419c1ac782ea151d63bf74baf22fcf5b /bsp | |
| parent | 22a9d6f309f1714c36ca68ee584589d559604e57 (diff) | |
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
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32f10x/SConscript | 2 | ||||
| -rw-r--r-- | bsp/stm32f10x/application.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/bsp/stm32f10x/SConscript b/bsp/stm32f10x/SConscript index 595c0fac37..566a695796 100644 --- a/bsp/stm32f10x/SConscript +++ b/bsp/stm32f10x/SConscript @@ -15,7 +15,7 @@ if GetDepend('RT_USING_LWIP'): src_drv += ['enc28j60.c'] + ['dm9000a.c']
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 rtconfig.RT_USING_LCD_TYPE == 'FMT0371':
diff --git a/bsp/stm32f10x/application.c b/bsp/stm32f10x/application.c index 2518cb26f9..d8185f23ea 100644 --- a/bsp/stm32f10x/application.c +++ b/bsp/stm32f10x/application.c @@ -129,7 +129,6 @@ void rt_init_thread_entry(void* parameter) extern void rtgui_startup();
extern void rt_hw_lcd_init();
extern void rtgui_touch_hw_init(void);
- extern void rt_hw_key_init(void);
rt_device_t lcd;
@@ -139,9 +138,6 @@ void rt_init_thread_entry(void* parameter) /* init touch panel */
rtgui_touch_hw_init();
- /* init keypad */
- rt_hw_key_init();
-
/* re-init device driver */
rt_device_init_all();
|
