AP_Mission: revert APM_BUILD_TYPE change

This commit is contained in:
Andrew Tridgell 2014-09-03 13:28:17 +10:00
parent c09c86868f
commit 3a5e960fe5
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ bool AP_Mission::mavlink_to_mission_cmd(const mavlink_mission_item_t& packet, AP
in the cmd structure. When we expand the mission structure
we can do this properly
*/
#if defined(APM_BUILD_DIRECTORY) && APM_BUILD_TYPE(APM_BUILD_ArduPlane)
#if APM_BUILD_TYPE(APM_BUILD_ArduPlane)
// acceptance radius in meters
cmd.p1 = packet.param2;
#else