Skip to content

Commit

Permalink
don't choke parsing FW2.0 files, helps with #4
Browse files Browse the repository at this point in the history
  • Loading branch information
stilldavid committed Apr 6, 2017
1 parent 72a1e45 commit 7718d87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion telemetry/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ func Read(f io.Reader) (*TELEM, error) {
"DVID",
"DVNM",
"EMPT",
"GPRO",
"GPS5",
"GPSF",
"GPSP",
"GPSU",
"GYRO",
"HD5.",
"SCAL",
"SIUN",
"STRM",
Expand Down Expand Up @@ -111,7 +113,6 @@ func Read(f io.Reader) (*TELEM, error) {

// XXX: I think this might skip the first sentence
return t, nil

} else if "GPS5" == label_string {
g := GPS5{}
g.Parse(value, &s)
Expand Down

0 comments on commit 7718d87

Please sign in to comment.