diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-14 01:01:11 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-14 01:17:25 +0100 |
commit | fd2629422ca8e3f351ddfc79a63e77fea177261e (patch) | |
tree | cedfbd5aff1208d653514723b897da82c53894b8 | |
parent | 637c7414a91c33e2627f99fee7b4c9cbf04abdb4 (diff) | |
download | rockbox-fd26294.tar.gz rockbox-fd26294.zip |
imx233: fix speaker enable/disable code
Change-Id: I6540f2f8ba09bc79b80d71e5f3b0adebd9fce727
-rw-r--r-- | firmware/target/arm/imx233/audioout-imx233.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c index 6c2c579536..a4c353c88e 100644 --- a/firmware/target/arm/imx233/audioout-imx233.c +++ b/firmware/target/arm/imx233/audioout-imx233.c @@ -269,7 +269,7 @@ void imx233_audioout_enable_spkr(bool en) static bool spkr_en = false; if(en == spkr_en) return; - spkr_en = true; + spkr_en = en; #if IMX233_SUBTARGET >= 3780 if(en) { |