diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-18 23:03:10 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-18 23:03:10 +0000 |
commit | 753064fccf270643edc8d60e46886e327b099c49 (patch) | |
tree | dbf8ec33eb170bf244e5c85b6c9102359914a958 /firmware | |
parent | e2ec2fe39141e3a9d3602221c5e36eb8e07db7da (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index ac4a264172..0556cc0eb4 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c @@ -827,7 +827,7 @@ void sd_enable(bool on) { /* buttonlight AMSes need a bit of special handling for the buttonlight here, * 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; #endif if (sd_enabled == on) |