diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-07-28 14:55:52 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-07-28 14:55:52 +0200 |
commit | 568b81202ebd24a3f7e9efe0558b5f6beed05b44 (patch) | |
tree | 0ccba4ad99311b8268c43adc7370d95da9f7337b /firmware/target/arm/as3525 | |
parent | 6f0320a9535bc1aa81d83fa879ac14d5ee603658 (diff) | |
download | rockbox-568b81202ebd24a3f7e9efe0558b5f6beed05b44.tar.gz rockbox-568b81202ebd24a3f7e9efe0558b5f6beed05b44.tar.bz2 rockbox-568b81202ebd24a3f7e9efe0558b5f6beed05b44.zip |
Fix Red on PowerSave in Simulator
Change-Id: Ic5d9de230efceabc2c428e5c78fa6596a5a34840
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525.c | 2 |
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 |