mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Support new Fuzev2 revisions (fuzev2_variant == 1)
- Revert BUTTON_HOME - Modifications to SD driver (µSD not working yet) TODO: µSD and FM radio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a083b9a9e0
commit
e44b65c806
5 changed files with 61 additions and 26 deletions
|
|
@ -257,6 +257,9 @@ int button_read_device(void)
|
|||
btn |= BUTTON_RIGHT;
|
||||
if (GPIOB_PIN(1) & 1<<1)
|
||||
btn |= BUTTON_HOME;
|
||||
if (fuzev2_variant == 1)
|
||||
btn ^= BUTTON_HOME;
|
||||
|
||||
if (gpiod6 & 1<<6)
|
||||
{ /* power/hold is on the same pin. we know it's hold if the bit isn't
|
||||
* set now anymore */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue