mirror of https://github.com/ArduPilot/ardupilot
Made ground course from Xplane an unsigned int.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@518 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
0f53cc4c8e
commit
b9f8b6727d
|
@ -182,7 +182,7 @@ void AP_GPS_IMU::join_data_xplane()
|
||||||
pitch_sensor = *(int *)&buffer[2];
|
pitch_sensor = *(int *)&buffer[2];
|
||||||
|
|
||||||
//Storing IMU heading (yaw)
|
//Storing IMU heading (yaw)
|
||||||
ground_course = *(int *)&buffer[4];
|
ground_course = *(unsigned int *)&buffer[4];
|
||||||
|
|
||||||
//Storing airspeed
|
//Storing airspeed
|
||||||
airspeed = *(int *)&buffer[6];
|
airspeed = *(int *)&buffer[6];
|
||||||
|
|
Loading…
Reference in New Issue