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:
Bertrik Sikken 2010-07-22 13:47:09 +00:00
parent 1ebdb8988f
commit 4d6c816721
6 changed files with 25 additions and 25 deletions

View file

@ -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)