Files
onepilot/system/hardware/pc/hardware.py
T
github-actions[bot] 3bd5475499 sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging)
date: 2026-06-05T03:53:22
master commit: 46b9253729193e47a8be99154bae41c35359a373
2026-06-05 03:53:22 +00:00

13 lines
252 B
Python

from cereal import log
from openpilot.system.hardware.base import HardwareBase
NetworkType = log.DeviceState.NetworkType
class Pc(HardwareBase):
def get_device_type(self):
return "pc"
def get_network_type(self):
return NetworkType.wifi