summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sd-as3525.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 14:55:52 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 14:55:52 +0200
commit568b81202ebd24a3f7e9efe0558b5f6beed05b44 (patch)
tree0ccba4ad99311b8268c43adc7370d95da9f7337b /firmware/target/arm/as3525/sd-as3525.c
parent6f0320a9535bc1aa81d83fa879ac14d5ee603658 (diff)
downloadrockbox-568b81202ebd24a3f7e9efe0558b5f6beed05b44.tar.gz
rockbox-568b81202ebd24a3f7e9efe0558b5f6beed05b44.zip
Fix Red on PowerSave in Simulator
Change-Id: Ic5d9de230efceabc2c428e5c78fa6596a5a34840
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