diff --git a/panda b/panda index 3ffe9591a..d1410f7f7 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit 3ffe9591a7305c71f67a70355f8098c9b5d2a611 +Subproject commit d1410f7f7b061171c3702d84d975a3da3afce109 diff --git a/selfdrive/ui/soundd.py b/selfdrive/ui/soundd.py index d88410ada..6a203d3af 100644 --- a/selfdrive/ui/soundd.py +++ b/selfdrive/ui/soundd.py @@ -21,11 +21,12 @@ MIN_VOLUME = 0.1 SELFDRIVE_STATE_TIMEOUT = 5 # 5 seconds FILTER_DT = 1. / (micd.SAMPLE_RATE / micd.FFT_SAMPLES) -AMBIENT_DB = 30 # DB where MIN_VOLUME is applied +AMBIENT_DB = 24 # DB where MIN_VOLUME is applied DB_SCALE = 30 # AMBIENT_DB + DB_SCALE is where MAX_VOLUME is applied VOLUME_BASE = 20 if HARDWARE.get_device_type() == "tizi": + AMBIENT_DB = 30 VOLUME_BASE = 10 AudibleAlert = car.CarControl.HUDControl.AudibleAlert