Skip to content

Commit

Permalink
Merge pull request hybridgroup#538 from cbwang2016/patch-1
Browse files Browse the repository at this point in the history
Update driver.go
  • Loading branch information
deadprogram authored May 18, 2018
2 parents adcbec3 + 6853f5c commit 8595b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/dji/tello/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,8 @@ func (d *Driver) handleResponse() error {
case wifiMessage:
buf := bytes.NewReader(buf[9:12])
wd := &WifiData{}
binary.Read(buf, binary.LittleEndian, &wd.Disturb)
binary.Read(buf, binary.LittleEndian, &wd.Strength)
binary.Read(buf, binary.LittleEndian, &wd.Disturb)
d.Publish(d.Event(WifiDataEvent), wd)
case lightMessage:
buf := bytes.NewReader(buf[9:10])
Expand Down

0 comments on commit 8595b01

Please sign in to comment.