From 363d2ed77374cf5ba230a3a017e4c9c81f6efbd1 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 10 Nov 2006 01:54:47 +0000 Subject: clean up some artifacts left behind from the hxxx move to target tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11490 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'firmware') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 1cdd8995fe..561dc6ee14 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -46,9 +46,6 @@ #ifdef TARGET_TREE #include "button-target.h" -#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) \ - || (CONFIG_KEYPAD == IRIVER_H300_PAD) -#include "button-target.h" #endif struct event_queue button_queue; @@ -490,19 +487,11 @@ static int button_read(void) int btn = BUTTON_NONE; int retval; #ifndef TARGET_TREE -#if (CONFIG_KEYPAD != IRIVER_H100_PAD) \ - && (CONFIG_KEYPAD != IRIVER_H300_PAD) int data; #endif -#endif #ifdef TARGET_TREE btn = button_read_device(); - -#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) \ - || (CONFIG_KEYPAD == IRIVER_H300_PAD) - btn = button_read_device(); /* temp untill TARGET_TREE is defined */ - #elif CONFIG_KEYPAD == RECORDER_PAD #ifndef HAVE_FMADC -- cgit v1.2.3