diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-01-06 23:41:36 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-01-06 23:41:36 +0000 |
commit | 57667c51cf09de052222484ce94fbd6da113a55c (patch) | |
tree | b85872be9b6c204e7d66a9203a64d78c524a38a5 /firmware/target/arm/as3525/debug-as3525.c | |
parent | 8e8e2627b27b28a855881db09f2c16bfb2193050 (diff) | |
download | rockbox-57667c51cf09de052222484ce94fbd6da113a55c.tar.gz rockbox-57667c51cf09de052222484ce94fbd6da113a55c.zip |
Sansa AMS: refactor DBOP button reading (e200v2/Fuze/c200v2)
This gets rid of LCD glitches on Sansa Fuze, and now LCD transfers can
get interrupted by button reading
Flyspray: FS #10603
Author: Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24192 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/debug-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/debug-as3525.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c index be78bca0e0..6ec065b03c 100644 --- a/firmware/target/arm/as3525/debug-as3525.c +++ b/firmware/target/arm/as3525/debug-as3525.c | |||
@@ -68,7 +68,7 @@ extern bool sd_enabled; | |||
68 | * if I put the below into a sansa-fuze/debug-target.h, it doesn't work*/ | 68 | * if I put the below into a sansa-fuze/debug-target.h, it doesn't work*/ |
69 | #if defined(SANSA_FUZE) || defined(SANSA_E200V2) || defined(SANSA_C200V2) | 69 | #if defined(SANSA_FUZE) || defined(SANSA_E200V2) || defined(SANSA_C200V2) |
70 | #define DEBUG_DBOP | 70 | #define DEBUG_DBOP |
71 | unsigned short button_dbop_data(void); | 71 | #include "dbop-as3525.h" |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | static inline unsigned read_cp15 (void) | 74 | static inline unsigned read_cp15 (void) |
@@ -392,7 +392,7 @@ bool __dbg_ports(void) | |||
392 | #ifdef DEBUG_DBOP | 392 | #ifdef DEBUG_DBOP |
393 | line++; | 393 | line++; |
394 | lcd_puts(0, line++, "[DBOP_DIN]"); | 394 | lcd_puts(0, line++, "[DBOP_DIN]"); |
395 | lcd_putsf(0, line++, "DBOP_DIN: %4x", button_dbop_data()); | 395 | lcd_putsf(0, line++, "DBOP_DIN: %4x", dbop_debug()); |
396 | #endif | 396 | #endif |
397 | line++; | 397 | line++; |
398 | lcd_puts(0, line++, "[CP15]"); | 398 | lcd_puts(0, line++, "[CP15]"); |