From 740e5a2ffec0b0860863d9fc48330121f9cd2d60 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 18 Feb 2009 17:46:11 +0000 Subject: Show DBOP in the e200v2's view IO ports menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20042 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/debug-as3525.c | 2 +- firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c index a70a07be9a..2ad2e11664 100644 --- a/firmware/target/arm/as3525/debug-as3525.c +++ b/firmware/target/arm/as3525/debug-as3525.c @@ -34,7 +34,7 @@ /* FIXME: target tree is including ./debug-target.h rather than the one in * sansa-fuze/, even though deps contains the correct one * if I put the below into a sansa-fuze/debug-target.h, it doesn't work*/ -#ifdef SANSA_FUZE +#if defined(SANSA_FUZE) && defined(SANSA_E200V2) #define DEBUG_DBOP short button_dbop_data(void); #endif diff --git a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c index 9a8b58fd3f..5edb31bc45 100644 --- a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c +++ b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c @@ -208,6 +208,11 @@ static short read_dbop(void) return _dbop_din; } +short button_dbop_data(void) +{ + return _dbop_din; +} + /* * Get button pressed from hardware */ -- cgit v1.2.3