mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-10 20:03:42 +08:00
0e51ecbb7e
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-09T15:43:49
master commit: b255314f5a
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
|