mkamsboot: dualboot button for Sansa Fuze

Sansa Fuze and e200v2 appear to have the same keymapping (except maybe for still missing buttons/wheel)
Thanks to Thomas Martitz for his finding

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19201 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2008-11-24 18:45:07 +00:00
parent 11c63f2f22
commit 48b4e5213b

View file

@ -109,7 +109,7 @@ uclcopy:
cmp r1, #0
bne boot_of
#elif defined(SANSA_E200V2)
#elif defined(SANSA_E200V2) || defined(SANSA_FUZE)
/* LEFT button */
ldr r0, =GPIOC
mov r1, #0
@ -132,8 +132,6 @@ uclcopy:
/* check value read (0 means button pressed) */
cmp r2, #0
beq boot_of
#elif defined(SANSA_FUZE)
/* no pinout known except A3 */
#else
#error No target-specific key check defined!
#endif