Skip to content

Commit d010289

Browse files
committed
Removed empty functions so travis would pass
1 parent b3481d3 commit d010289

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

adafruit_gps.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,8 @@ def update(self):
127127
self._parse_gpgll(args)
128128
elif data_type == b'GPRMC': # RMC, minimum location info
129129
self._parse_gprmc(args)
130-
elif data_type == b'GPVTG': # VTG, Track Made Good and Ground Speed
131-
self._parse_gpvtg(args)
132130
elif data_type == b'GPGGA': # GGA, 3d location fix
133131
self._parse_gpgga(args)
134-
elif data_type == b'GPGSA': # GSA, GPS DOP and active satellites
135-
self._parse_gpgsa(args)
136-
elif data_type == b'GPGSV': # GSV, Satellites in view
137-
self._parse_gpgsv(args)
138132
return True
139133

140134
def send_command(self, command, add_checksum=True):
@@ -157,7 +151,7 @@ def send_command(self, command, add_checksum=True):
157151
def has_fix(self):
158152
"""True if a current fix for location information is available."""
159153
return self.fix_quality is not None and self.fix_quality >= 1
160-
154+
161155
@property
162156
def has_3d_fix(self):
163157
"""True if a current 3d fix for location information is available"""
@@ -291,11 +285,6 @@ def _parse_gprmc(self, args):
291285
self.timestamp_utc = time.struct_time((year, month, day, 0, 0,
292286
0, 0, 0, -1))
293287

294-
def _parse_gpvtg(self, args):
295-
# Not implemented yet
296-
a = args # This line is to try to get travis to pass
297-
return None
298-
299288
def _parse_gpgga(self, args):
300289
# Parse the arguments (everything after data type) for NMEA GPGGA
301290
# 3D location fix sentence.
@@ -331,13 +320,3 @@ def _parse_gpgga(self, args):
331320
self.horizontal_dilution = _parse_float(data[7])
332321
self.altitude_m = _parse_float(data[8])
333322
self.height_geoid = _parse_float(data[10])
334-
335-
def _parse_gpgsa(self, args):
336-
# Not implemented yet
337-
a = args # This line is to try to get travis to pass
338-
return None
339-
340-
def _parse_gpgsv(self, args):
341-
# Not implemented yet
342-
a = args # This line is to try to get travis to pass
343-
return None

0 commit comments

Comments
 (0)