diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-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 @@ | |||
34 | /* FIXME: target tree is including ./debug-target.h rather than the one in | 34 | /* FIXME: target tree is including ./debug-target.h rather than the one in |
35 | * sansa-fuze/, even though deps contains the correct one | 35 | * sansa-fuze/, even though deps contains the correct one |
36 | * if I put the below into a sansa-fuze/debug-target.h, it doesn't work*/ | 36 | * if I put the below into a sansa-fuze/debug-target.h, it doesn't work*/ |
37 | #ifdef SANSA_FUZE | 37 | #if defined(SANSA_FUZE) && defined(SANSA_E200V2) |
38 | #define DEBUG_DBOP | 38 | #define DEBUG_DBOP |
39 | short button_dbop_data(void); | 39 | short button_dbop_data(void); |
40 | #endif | 40 | #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) | |||
208 | return _dbop_din; | 208 | return _dbop_din; |
209 | } | 209 | } |
210 | 210 | ||
211 | short button_dbop_data(void) | ||
212 | { | ||
213 | return _dbop_din; | ||
214 | } | ||
215 | |||
211 | /* | 216 | /* |
212 | * Get button pressed from hardware | 217 | * Get button pressed from hardware |
213 | */ | 218 | */ |