Controls - Device Management - Increase Thermal Safety Limit
Allow the device to run at a temperature above comma's recommended thermal limits.
This commit is contained in:
parent
032b660fed
commit
6a3af731fd
@ -249,6 +249,7 @@ class Controls:
|
|||||||
|
|
||||||
# Create events for temperature, disk space, and memory
|
# Create events for temperature, disk space, and memory
|
||||||
if self.sm['deviceState'].thermalStatus >= ThermalStatus.red:
|
if self.sm['deviceState'].thermalStatus >= ThermalStatus.red:
|
||||||
|
if not self.frogpilot_toggles.increase_thermal_limits or self.sm['deviceState'].thermalStatus == ThermalStatus.danger:
|
||||||
self.events.add(EventName.overheat)
|
self.events.add(EventName.overheat)
|
||||||
if self.sm['deviceState'].freeSpacePercent < 7 and not SIMULATION:
|
if self.sm['deviceState'].freeSpacePercent < 7 and not SIMULATION:
|
||||||
# under 7% of space free no enable allowed
|
# under 7% of space free no enable allowed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user