Merge remote-tracking branch 'sunnypilot/master' into SunnyPilot

This commit is contained in:
discountchubbs
2025-08-13 10:06:02 -07:00
36 changed files with 453 additions and 387 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ BUTTON_TEXT_COLOR = {
ButtonStyle.PRIMARY: rl.Color(228, 228, 228, 255),
ButtonStyle.DANGER: rl.Color(228, 228, 228, 255),
ButtonStyle.TRANSPARENT: rl.BLACK,
ButtonStyle.ACTION: rl.Color(0, 0, 0, 255),
ButtonStyle.ACTION: rl.BLACK,
ButtonStyle.LIST_ACTION: rl.Color(228, 228, 228, 255),
}
+2 -2
View File
@@ -101,8 +101,8 @@ class WifiManager:
"""Connect to the DBus system bus."""
try:
self.bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
if not await self._find_wifi_device():
raise ValueError("No Wi-Fi device found")
while not await self._find_wifi_device():
await asyncio.sleep(1)
await self._setup_signals(self.device_path)
self.active_ap_path = await self.get_active_access_point()