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:
jasonshort 2010-09-14 19:13:02 +00:00
parent 0f53cc4c8e
commit b9f8b6727d
1 changed files with 1 additions and 1 deletions

View File

@ -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];