Skip to content
This repository
Browse code

remove footer from fg protocol

this seems to cause problems on MacOS
  • Loading branch information...
commit 94a7132fbe15ffd05563de36ed092ddf1ecc2d5f 1 parent a6b1283
Andrew Tridgell authored

Showing 2 changed files with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 1  MAVLink.xml
  2. +2 2 mavproxy.py
1  MAVLink.xml
@@ -14,7 +14,6 @@
4 mavproxy.py
@@ -1048,8 +1048,8 @@ def send_flightgear_controls(fg):
1048 1048 r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], # raw PWM in
1049 1049 0x4c56414d)
1050 1050 else:
1051   - buf = struct.pack('>ddddI', status.rc_aileron, status.rc_elevator,
1052   - status.rc_rudder, status.rc_throttle, 0x4c56414d)
  1051 + buf = struct.pack('>dddd', status.rc_aileron, status.rc_elevator,
  1052 + status.rc_rudder, status.rc_throttle)
1053 1053 fg.write(buf)
1054 1054
1055 1055

0 comments on commit 94a7132

Please sign in to comment.
Something went wrong with that request. Please try again.