Cast gpstimeofweek to int

old-commit-hash: d4886b2c29
taco
Gijs Koning 3 years ago
parent c0abd08f13
commit fc062222d4
  1. 2
      selfdrive/locationd/laikad.py

@ -201,7 +201,7 @@ def create_measurement_msg(meas: GNSSMeasurement):
c.ephemerisSource.type = source_type.value
c.ephemerisSource.gpsWeek = week
c.ephemerisSource.gpsTimeOfWeek = time_of_week
c.ephemerisSource.gpsTimeOfWeek = int(time_of_week)
return c

Loading…
Cancel
Save