Browse Source

Made ground course from Xplane an unsigned int.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@518 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
jasonshort 15 years ago
parent
commit
b9f8b6727d
  1. 2
      libraries/AP_GPS/AP_GPS_IMU.cpp

2
libraries/AP_GPS/AP_GPS_IMU.cpp

@ -182,7 +182,7 @@ void AP_GPS_IMU::join_data_xplane() @@ -182,7 +182,7 @@ void AP_GPS_IMU::join_data_xplane()
pitch_sensor = *(int *)&buffer[2];
//Storing IMU heading (yaw)
ground_course = *(int *)&buffer[4];
ground_course = *(unsigned int *)&buffer[4];
//Storing airspeed
airspeed = *(int *)&buffer[6];

Loading…
Cancel
Save