From ec7403c060babaaa72fd47c284045a2205d87006 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 17 Nov 2017 21:17:36 +0100 Subject: [PATCH] - simple_display: show mute icon in muted mode Signed-off-by: Thilo Graf --- src/driver/simple_display.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 4f05131bb..a92d23364 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -399,6 +399,8 @@ void CLCD::showVolume(const char vol, const bool update) if (volume > 100) volume = 100; + ShowIcon(FP_ICON_MUTE, muted); + if (muted) { if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT) @@ -869,6 +871,9 @@ void CLCD::ShowIcon(fp_icon i, bool on) SetIcons(SPARK_CLOCK, on); proc_put("/proc/stb/lcd/symbol_timeshift", on); break; + case FP_ICON_MUTE: + proc_put("/proc/stb/lcd/symbol_mute", on); + break; default: break; }