mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-19 21:12:04 +08:00
6adb63b915
date: 2026-06-04T09:49:56 master commit: c0ab3550eca2e9daf197c46b7e4b24aa9637cf2e
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"
|