mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
m200v4: correct the BOOTDIR define, and invert the button check in the dualboot.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19217 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ef60fdcb52
commit
032b3d4691
2 changed files with 4 additions and 4 deletions
|
@ -138,7 +138,7 @@
|
|||
|
||||
#define BOOTFILE_EXT "sansa"
|
||||
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
||||
#define BOOTDIR "/"
|
||||
#define BOOTDIR "/.rockbox"
|
||||
|
||||
#define IBSS_ATTR_VOICE_STACK
|
||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||
|
|
|
@ -119,7 +119,7 @@ uclcopy:
|
|||
cmp r1, #0 /* C3 = #0 means button pressed */
|
||||
beq boot_of
|
||||
#elif defined(SANSA_M200V4)
|
||||
/* SELECT button */
|
||||
/* LEFT button */
|
||||
.set row, (1<<5) /* enable output on A5 */
|
||||
ldr r0, =GPIOA
|
||||
mov r1, #row
|
||||
|
@ -129,9 +129,9 @@ uclcopy:
|
|||
.set col, (1<<0) /* read keyscan column A0 */
|
||||
ldr r2, [r0, #(4*col)]
|
||||
|
||||
/* check value read (0 means button pressed) */
|
||||
/* check value read (1 means button pressed) */
|
||||
cmp r2, #0
|
||||
beq boot_of
|
||||
bne boot_of
|
||||
#else
|
||||
#error No target-specific key check defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue