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
This commit is contained in:
Rafaël Carré 2009-05-22 10:44:06 +00:00
parent f2c07a6b8a
commit 9ed51a029d

View file

@ -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]