feat: Squash all min-features into full

This commit is contained in:
Rick Lan
2026-06-11 20:00:23 +08:00
parent ce6611af1f
commit d328bb844d
447 changed files with 108504 additions and 163 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ from openpilot.system.hardware import HARDWARE, PC
from openpilot.system.ui.lib.multilang import multilang
from openpilot.common.realtime import Ratekeeper
_DEFAULT_FPS = int(os.getenv("FPS", {'tizi': 20}.get(HARDWARE.get_device_type(), 60)))
_DEFAULT_FPS = int(os.getenv("FPS", {'tici': 20, 'tizi': 20}.get(HARDWARE.get_device_type(), 60)))
FPS_LOG_INTERVAL = 5 # Seconds between logging FPS drops
FPS_DROP_THRESHOLD = 0.9 # FPS drop threshold for triggering a warning
FPS_CRITICAL_THRESHOLD = 0.5 # Critical threshold for triggering strict actions
+8
View File
@@ -154,6 +154,13 @@ class AdvancedNetworkSettings(Widget):
self._scroller = Scroller(items, line_separator=True, spacing=0)
# dp - retain tethering after reboot
# same logic as _toggle_tethering()
if self._params.get_bool("dp_dev_tethering"):
self._tethering_action.set_enabled(False)
self._wifi_metered_action.set_enabled(False)
self._wifi_manager.set_tethering_active(True)
def _on_network_updated(self, networks: list[Network]):
self._tethering_action.set_enabled(True)
self._tethering_action.set_state(self._wifi_manager.is_tethering_active())
@@ -169,6 +176,7 @@ class AdvancedNetworkSettings(Widget):
def _toggle_tethering(self):
checked = self._tethering_action.get_state()
self._params.put_bool_nonblocking("dp_dev_tethering", checked)
self._tethering_action.set_enabled(False)
if checked:
self._wifi_metered_action.set_enabled(False)