mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-31 21:23:49 +08:00
db0642ec47
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
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"
|