mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-18 19:03:42 +08:00
0b2c431d3a
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-14T15:43:39
master commit: a5f44653d7
9 lines
204 B
Python
9 lines
204 B
Python
from openpilot.common.params import Params
|
|
|
|
|
|
def get_gps_location_service(params: Params) -> str:
|
|
if params.get_bool("UbloxAvailable"):
|
|
return "gpsLocationExternal"
|
|
else:
|
|
return "gpsLocation"
|