mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa AMS: fix yellow for models with buttonlight & without multivolume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21343 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2ec2fe391
commit
753064fccf
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ void sd_enable(bool on)
|
||||||
{
|
{
|
||||||
/* buttonlight AMSes need a bit of special handling for the buttonlight here,
|
/* buttonlight AMSes need a bit of special handling for the buttonlight here,
|
||||||
* due to the dual mapping of GPIOD and XPD */
|
* due to the dual mapping of GPIOD and XPD */
|
||||||
#ifdef HAVE_BUTTON_LIGHT
|
#if defined(HAVE_BUTTON_LIGHT) && defined(HAVE_MULTIVOLUME)
|
||||||
extern int buttonlight_is_on;
|
extern int buttonlight_is_on;
|
||||||
#endif
|
#endif
|
||||||
if (sd_enabled == on)
|
if (sd_enabled == on)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue