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:
parent
f2c07a6b8a
commit
9ed51a029d
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue