summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-18 23:03:10 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-18 23:03:10 +0000
commit753064fccf270643edc8d60e46886e327b099c49 (patch)
treedbf8ec33eb170bf244e5c85b6c9102359914a958 /firmware/target
parente2ec2fe39141e3a9d3602221c5e36eb8e07db7da (diff)
downloadrockbox-753064fccf270643edc8d60e46886e327b099c49.tar.gz
rockbox-753064fccf270643edc8d60e46886e327b099c49.zip
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/target')
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c2
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)
827{ 827{
828 /* buttonlight AMSes need a bit of special handling for the buttonlight here, 828 /* buttonlight AMSes need a bit of special handling for the buttonlight here,
829 * due to the dual mapping of GPIOD and XPD */ 829 * due to the dual mapping of GPIOD and XPD */
830#ifdef HAVE_BUTTON_LIGHT 830#if defined(HAVE_BUTTON_LIGHT) && defined(HAVE_MULTIVOLUME)
831 extern int buttonlight_is_on; 831 extern int buttonlight_is_on;
832#endif 832#endif
833 if (sd_enabled == on) 833 if (sd_enabled == on)