summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-e200v2/button-target.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-20 20:11:01 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-20 20:11:01 +0000
commite29358c154e5412737dbc9375c90b3046c49b90b (patch)
treebcca0390d65bc9d3311fcebba5961be2b6fa4bcb /firmware/target/arm/as3525/sansa-e200v2/button-target.h
parentf4ac75752e7b76b8aa24208a8d344b427351af6d (diff)
Fix FS#10128 - The View IO Ports debug menu showed weird dbop values (sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20757 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-e200v2/button-target.h')
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/button-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/button-target.h b/firmware/target/arm/as3525/sansa-e200v2/button-target.h
index e09743d89c..b1feb58cad 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/button-target.h
+++ b/firmware/target/arm/as3525/sansa-e200v2/button-target.h
@@ -30,7 +30,7 @@
bool button_hold(void);
void button_init_device(void);
int button_read_device(void);
-short button_read_dbop(void);
+unsigned short button_read_dbop(void);
/* Sandisk Sansa E200 button codes */