We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25c1c83 + 872d639 commit 7a88c30Copy full SHA for 7a88c30
adafruit_gps.py
@@ -195,7 +195,7 @@ def _parse_gprmc(self, args):
195
# Parse the arguments (everything after data type) for NMEA GPRMC
196
# minimum location fix sentence.
197
data = args.split(',')
198
- if data is None or len(data) < 11:
+ if data is None or len(data) < 11 or data[0] is None:
199
return # Unexpected number of params.
200
# Parse fix time.
201
time_utc = int(_parse_float(data[0]))
0 commit comments