fix AC hil build

This commit is contained in:
Michael Oborne 2012-06-04 11:12:52 +08:00
parent a71ed6c5ce
commit 9303a89573
1 changed files with 2 additions and 0 deletions

View File

@ -1848,6 +1848,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
} }
#if HIL_MODE != HIL_MODE_DISABLED #if HIL_MODE != HIL_MODE_DISABLED
#if MAVLINK10 != ENABLED
// This is used both as a sensor and to pass the location // This is used both as a sensor and to pass the location
// in HIL_ATTITUDE mode. // in HIL_ATTITUDE mode.
case MAVLINK_MSG_ID_GPS_RAW: //32 case MAVLINK_MSG_ID_GPS_RAW: //32
@ -1870,6 +1871,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
} }
break; break;
} }
#endif
#if HIL_MODE == HIL_MODE_ATTITUDE #if HIL_MODE == HIL_MODE_ATTITUDE
case MAVLINK_MSG_ID_ATTITUDE: //30 case MAVLINK_MSG_ID_ATTITUDE: //30
{ {