summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-05-22 10:44:06 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-05-22 10:44:06 +0000
commit9ed51a029d85078b792fad56dcceccee4a4a3ae4 (patch)
treebed012dcd430ada94a4631504056e0fe3365265c /rbutil
parentf2c07a6b8a50bf41c97d1e8e17f88827a00d34a6 (diff)
downloadrockbox-9ed51a029d85078b792fad56dcceccee4a4a3ae4.tar.gz
rockbox-9ed51a029d85078b792fad56dcceccee4a4a3ae4.tar.bz2
rockbox-9ed51a029d85078b792fad56dcceccee4a4a3ae4.zip
mkamsboot : use left button for dual boot on Sansa Clip for consistency with other Sansa models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21029 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/mkamsboot/dualboot.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/mkamsboot/dualboot.S b/rbutil/mkamsboot/dualboot.S
index 313627d307..a4d0469060 100644
--- a/rbutil/mkamsboot/dualboot.S
+++ b/rbutil/mkamsboot/dualboot.S
@@ -97,14 +97,14 @@ uclcopy:
/* here are model specific tests, for dual boot without a computer */
#ifdef SANSA_CLIP
- /* HOME button */
-.set row, (1<<6) /* enable output on C6 */
+ /* LEFT button */
+.set row, (1<<5) /* enable output on C5 */
ldr r0, =GPIOC
mov r1, #row
str r1, [r0, #0x400]
str r1, [r0, #(4*row)]
-.set col, (1<<2) /* read keyscan column B2 */
+.set col, (1<<0) /* read keyscan column B0 */
ldr r0, =GPIOB
mov r1, #0
str r1, [r0, #0x400]