From 568b81202ebd24a3f7e9efe0558b5f6beed05b44 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 28 Jul 2018 14:55:52 +0200 Subject: Fix Red on PowerSave in Simulator Change-Id: Ic5d9de230efceabc2c428e5c78fa6596a5a34840 --- firmware/target/arm/as3525/sd-as3525.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/target/arm/as3525/sd-as3525.c') 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 -- cgit v1.2.3