summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)