Fix code style

This commit is contained in:
Lorenz Meier 2015-12-21 14:15:24 +01:00
parent e9b4946d9f
commit 5d9048280f
1 changed files with 2 additions and 2 deletions

View File

@ -813,8 +813,8 @@ MavlinkMissionManager::parse_mavlink_mission_item(const mavlink_mission_item_t *
mission_item->yaw = _wrap_pi(mavlink_mission_item->param4 * M_DEG_TO_RAD_F);
mission_item->loiter_radius = fabsf(mavlink_mission_item->param3);
mission_item->loiter_direction = (mavlink_mission_item->param3 > 0) ? 1 : -1; /* 1 if positive CW, -1 if negative CCW */
/* unsigned, so can't be negative, only check for overflow */
/* unsigned, so can't be negative, only check for overflow */
if (mavlink_mission_item->command >= NAV_CMD_INVALID) {
mission_item->nav_cmd = NAV_CMD_INVALID;