mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 15:53:57 +08:00
* misc system/hardware/ cleanup * lil more * pc is kinda base * lil more * lil more * lil more * int * lil more?
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
|