Skip to content

Commit

Permalink
Update flightcode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ibanezmatt13 committed Feb 5, 2014
1 parent aa708fd commit 1d3439f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flightcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def read_gps():
gps.write("$PUBX,00*33\n") # request a PUBX sentence
NMEA_sentence = gps.readline() # re-read ready for re-looping
print "Still Bad Sentence"
disable_sentences()
if NMEA_sentence.startswith("$PUBX"): # if we got a PUBX sentence

gps.close() # close serial
Expand Down

0 comments on commit 1d3439f

Please sign in to comment.