diff --git a/selfdrive/ui/ui.c b/selfdrive/ui/ui.c index 55caaeb6b..807085627 100644 --- a/selfdrive/ui/ui.c +++ b/selfdrive/ui/ui.c @@ -350,7 +350,6 @@ 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); - volume = volume > MAX_VOLUME? MAX_VOLUME : volume; } sprintf(volume_change_cmd, "service call audio 3 i32 3 i32 %d i32 1", volume);