mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-17 02:53:43 +08:00
d02355b1a5
* rename tici hardware platform to comma * no /TICI * lil more * lil more * you had a good life larch64 * lil more * one more
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
|