diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-02-18 17:46:11 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-02-18 17:46:11 +0000 |
commit | 740e5a2ffec0b0860863d9fc48330121f9cd2d60 (patch) | |
tree | d6a5f153d4abf77e42d707af258df43fbf493091 /firmware/target | |
parent | 5e3b4fe3f8a47b57f9c799025f757607102d3284 (diff) | |
download | rockbox-740e5a2ffec0b0860863d9fc48330121f9cd2d60.tar.gz rockbox-740e5a2ffec0b0860863d9fc48330121f9cd2d60.zip |
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
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/debug-as3525.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c | 5 |
2 files changed, 6 insertions, 1 deletions
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 */ |