mkamsboot: Use left button on e200v2 to dual boot (like e200v1)

Thanks to Michael Chicoine

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18973 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2008-11-02 00:51:56 +00:00
parent 091f2a0c4f
commit 34151e55f8

View file

@ -110,13 +110,13 @@ uclcopy:
cmp r1, #0
bne boot_of
#elif defined(SANSA_E200V2)
/* DOWN button */
/* LEFT button */
ldr r0, =GPIOC
mov r1, #0
str r1, [r0, #0x400]
ldr r1, [r0, #0x100] /* read pin C6 */
ldr r1, [r0, #0x20] /* read pin C3 */
cmp r1, #0 /* C6 = #0 means button pressed */
cmp r1, #0 /* C3 = #0 means button pressed */
beq boot_of
#elif defined(SANSA_M200V2)
/* SELECT button */