mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa Clip+: detect AMSv2 variant (just like was already done for fuze v2), this makes SD transfers work for newer clip+ players ("COMBO4E" type). Variable fuzev2_variant has been renamed to amsv2_variant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27520 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1ebdb8988f
commit
4d6c816721
6 changed files with 25 additions and 25 deletions
|
|
@ -257,7 +257,7 @@ int button_read_device(void)
|
|||
btn |= BUTTON_RIGHT;
|
||||
if (GPIOB_PIN(1) & 1<<1)
|
||||
btn |= BUTTON_HOME;
|
||||
if (fuzev2_variant == 1)
|
||||
if (amsv2_variant == 1)
|
||||
btn ^= BUTTON_HOME;
|
||||
|
||||
if (gpiod6 & 1<<6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue