mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 13:32:04 +08:00
Merge branch 'devel-en' into devel-zht
This commit is contained in:
+1
-1
@@ -2648,7 +2648,7 @@ int main(int argc, char* argv[]) {
|
||||
} else {
|
||||
int volume = min(MAX_VOLUME, MIN_VOLUME + s->scene.v_ego / 5); // up one notch every 5 m/s
|
||||
if (s->dragon_ui_volume_boost > 0 || s->dragon_ui_volume_boost < 0) {
|
||||
volume = volume * (1 + s->dragon_ui_volume_boost /100)
|
||||
volume = volume * (1 + s->dragon_ui_volume_boost /100);
|
||||
}
|
||||
set_volume(s, volume);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user