From f23adbffedd27b595bdc07dc160437e063762c69 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Wed, 28 Aug 2019 16:08:21 +1000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/ui/ui.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/ui/ui.c b/selfdrive/ui/ui.c index 807085627..1037becbc 100644 --- a/selfdrive/ui/ui.c +++ b/selfdrive/ui/ui.c @@ -348,9 +348,6 @@ static void set_awake(UIState *s, bool awake) { static void set_volume(UIState *s, int volume) { char volume_change_cmd[64]; - if (s->dragon_ui_volume_boost > 0 || s->dragon_ui_volume_boost < 0) { - volume = volume * (1 + s->dragon_ui_volume_boost /100); - } sprintf(volume_change_cmd, "service call audio 3 i32 3 i32 %d i32 1", volume); // 5 second timeout at 60fps