mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-23 07:52:07 +08:00
13aee3754b
date: 2026-07-20T11:52:50
master commit: bae7e49626
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"
|