diff --git a/selfdrive/dragonpilot/dragonconf/__init__.py b/selfdrive/dragonpilot/dragonconf/__init__.py index 5bc5d27a8..542a4d624 100644 --- a/selfdrive/dragonpilot/dragonconf/__init__.py +++ b/selfdrive/dragonpilot/dragonconf/__init__.py @@ -11,6 +11,7 @@ default_conf = { 'DragonAutoShutdownAt': '30', # in minute 'DragonTempDisableSteerOnSignal': '0', 'DragonDisableLogger': '0', + 'DragonNoctuaMode': '0', } def dragonpilot_set_params(params): diff --git a/selfdrive/thermald.py b/selfdrive/thermald.py index ef75cfffd..ace8ffc56 100755 --- a/selfdrive/thermald.py +++ b/selfdrive/thermald.py @@ -82,6 +82,9 @@ _TEMP_THRS_L = [42.5, 57.5, 72.5, 10000] _FAN_SPEEDS = [0, 16384, 32768, 65535] # max fan speed only allowed if battery is hot _BAT_TEMP_THERSHOLD = 45. +if Params.get('DragonNoctuaMode') == "1": + _FAN_SPEEDS = [65535, 65535, 65535, 65535] + _BAT_TEMP_THERSHOLD = 20. def handle_fan(max_cpu_temp, bat_temp, fan_speed):