Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindehecker committed Sep 14, 2016
1 parent 284b8d9 commit 15f91c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/modules/sensors/kalamos_uart.c
Expand Up @@ -147,7 +147,7 @@ static inline void kalamos_parse_msg(void)
target.y = pos->y + cos(heading_to_go)*k2p_package.avoid_rate*kalamos_land_xy_gain;
target.z = waypoint_get_alt(WP_LANDING);

if((kalamos_land_xy_gain != 0) && (avoid_rate > 0.2))
if((kalamos_land_xy_gain != 0) && (k2p_package.avoid_rate > 0.2))
waypoint_set_enu(WP_LANDING, &target);
}

Expand Down

0 comments on commit 15f91c5

Please sign in to comment.