mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
11c63f2f22
commit
48b4e5213b
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue