summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-02 00:51:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-02 00:51:56 +0000
commit34151e55f877828375f6907ac92e9000cd71f633 (patch)
tree851bc9521eb0e2262c273a839b56f8ed9d729f20 /rbutil
parent091f2a0c4f25a3fc45bf63939266d5562c85e7cf (diff)
downloadrockbox-34151e55f877828375f6907ac92e9000cd71f633.tar.gz
rockbox-34151e55f877828375f6907ac92e9000cd71f633.tar.bz2
rockbox-34151e55f877828375f6907ac92e9000cd71f633.zip
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
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/mkamsboot/dualboot.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/mkamsboot/dualboot.S b/rbutil/mkamsboot/dualboot.S
index e3033de3fb..13abece1d9 100644
--- a/rbutil/mkamsboot/dualboot.S
+++ b/rbutil/mkamsboot/dualboot.S
@@ -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 */