mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 04:33:48 +08:00
c7a5707c52
date: 2026-08-21T09:44:14
master commit: 5ad2bfdb75
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"
|