summaryrefslogtreecommitdiff
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)
215/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */ 215/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */
216static void enable_controller(bool on, const int drive) 216static void enable_controller(bool on, const int drive)
217{ 217{
218 (void) on;
218 219
219 if (drive == INTERNAL_AS3525) 220 if (drive == INTERNAL_AS3525)
220 { 221 {
@@ -235,6 +236,7 @@ static void enable_controller(bool on, const int drive)
235 else 236 else
236 enable_controller_mci(on); 237 enable_controller_mci(on);
237#endif 238#endif
239
238} 240}
239 241
240#ifdef HAVE_HOTSWAP 242#ifdef HAVE_HOTSWAP