3bd5475499
version: sunnypilot v2026.002.000 (staging) date: 2026-06-05T03:53:22 master commit: 46b9253729193e47a8be99154bae41c35359a373
13 lines
252 B
Python
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
|