timed: use gps location packet for time (#33306)
* GPS helpers
* Use GPS socket in timed
* Use helper in controlsd
* Use updated and logMonoTime
* Helper type annot
* Not updated
* Increase time threashold
old-commit-hash: cf355ecf20
pull/33386/head
parent
7bfd763291
commit
e154f03a12
3 changed files with 19 additions and 8 deletions
@ -0,0 +1,8 @@ |
||||
from openpilot.common.params import Params |
||||
|
||||
|
||||
def get_gps_location_service(params: Params) -> str: |
||||
if params.get_bool("UbloxAvailable"): |
||||
return "gpsLocationExternal" |
||||
else: |
||||
return "gpsLocation" |
Loading…
Reference in new issue