Quick addition to previous commit with the same goal.

pull/36/head
Keith Wiley 2021-04-09 16:50:52 -07:00
rodzic 200b269505
commit f06bb05058
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -185,7 +185,7 @@ class MicropyGPS(object):
hours = (int(utc_string[0:2]) + self.local_offset) % 24
minutes = int(utc_string[2:4])
seconds = float(utc_string[4:])
self.timestamp = (hours, minutes, seconds)
self.timestamp = [hours, minutes, seconds]
else: # No Time stamp yet
self.timestamp = [0, 0, 0.0]
@ -283,7 +283,7 @@ class MicropyGPS(object):
hours = (int(utc_string[0:2]) + self.local_offset) % 24
minutes = int(utc_string[2:4])
seconds = float(utc_string[4:])
self.timestamp = (hours, minutes, seconds)
self.timestamp = [hours, minutes, seconds]
else: # No Time stamp yet
self.timestamp = [0, 0, 0.0]