summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sd-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c
index 9e4a86acbe..2c04508089 100644
--- a/firmware/target/arm/as3525/sd-as3525.c
+++ b/firmware/target/arm/as3525/sd-as3525.c
@@ -215,6 +215,7 @@ static void enable_controller_mci(bool on)
/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */
static void enable_controller(bool on, const int drive)
{
+ (void) on;
if (drive == INTERNAL_AS3525)
{
@@ -235,6 +236,7 @@ static void enable_controller(bool on, const int drive)
else
enable_controller_mci(on);
#endif
+
}
#ifdef HAVE_HOTSWAP