mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-18 11:22:03 +08:00
6fe5d4054d
date: 2026-03-13T21:04:16 master commit: 41994b1d27423e8a10008019a962417bf0f5f974
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
|