mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-18 23:23:42 +08:00
0b2c431d3a
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-14T15:43:39
master commit: a5f44653d7
11 lines
300 B
Python
11 lines
300 B
Python
from openpilot.cereal import log
|
|
from openpilot.common.hardware.base import HardwareBase
|
|
|
|
class HardwarePc(HardwareBase):
|
|
def get_device_type(self):
|
|
return "pc"
|
|
|
|
def get_network_type(self):
|
|
# some stuff is gated on wifi, so just assume for now
|
|
return log.DeviceState.NetworkType.wifi
|