diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-05-22 10:44:06 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-05-22 10:44:06 +0000 |
commit | 9ed51a029d85078b792fad56dcceccee4a4a3ae4 (patch) | |
tree | bed012dcd430ada94a4631504056e0fe3365265c | |
parent | f2c07a6b8a50bf41c97d1e8e17f88827a00d34a6 (diff) | |
download | rockbox-9ed51a029d85078b792fad56dcceccee4a4a3ae4.tar.gz 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
-rw-r--r-- | rbutil/mkamsboot/dualboot.S | 6 |
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: | |||
97 | /* here are model specific tests, for dual boot without a computer */ | 97 | /* here are model specific tests, for dual boot without a computer */ |
98 | 98 | ||
99 | #ifdef SANSA_CLIP | 99 | #ifdef SANSA_CLIP |
100 | /* HOME button */ | 100 | /* LEFT button */ |
101 | .set row, (1<<6) /* enable output on C6 */ | 101 | .set row, (1<<5) /* enable output on C5 */ |
102 | ldr r0, =GPIOC | 102 | ldr r0, =GPIOC |
103 | mov r1, #row | 103 | mov r1, #row |
104 | str r1, [r0, #0x400] | 104 | str r1, [r0, #0x400] |
105 | str r1, [r0, #(4*row)] | 105 | str r1, [r0, #(4*row)] |
106 | 106 | ||
107 | .set col, (1<<2) /* read keyscan column B2 */ | 107 | .set col, (1<<0) /* read keyscan column B0 */ |
108 | ldr r0, =GPIOB | 108 | ldr r0, =GPIOB |
109 | mov r1, #0 | 109 | mov r1, #0 |
110 | str r1, [r0, #0x400] | 110 | str r1, [r0, #0x400] |