We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd71268 commit dcf558bCopy full SHA for dcf558b
adafruit_gps.py
@@ -152,7 +152,7 @@ def _parse_gpgga(self, args):
152
if time_utc is not None:
153
hours = time_utc // 10000
154
mins = int((time_utc // 100) % 100)
155
- secs = time_utc % 100
+ secs = int(time_utc % 100)
156
# Set or update time to a friendly python time struct.
157
if self.timestamp_utc is not None:
158
self.timestamp_utc = time.struct_time((
@@ -188,7 +188,7 @@ def _parse_gprmc(self, args):
188
189
190
191
192
193
194
0 commit comments