f8e13417f2
date: 2026-08-15T14:20:10 master commit: d48cfa730bf21593b684efeaf3fd8940695e1dea
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
|