mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
091f2a0c4f
commit
34151e55f8
1 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue