mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-02 13:29:28 +08:00
Cast gpstimeofweek to int
old-commit-hash: d4886b2c2995db88d9bc9f7d7cf3f7cb9def5b12
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user