mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 00:12:05 +08:00
Cast gpstimeofweek to int
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