|
|
|
@ -190,7 +190,6 @@ static void set_next_WP(struct Location *wp)
@@ -190,7 +190,6 @@ static void set_next_WP(struct Location *wp)
|
|
|
|
|
wp_totalDistance = get_distance(¤t_loc, &next_WP); |
|
|
|
|
wp_distance = wp_totalDistance; |
|
|
|
|
target_bearing = get_bearing(¤t_loc, &next_WP); |
|
|
|
|
nav_bearing = target_bearing; |
|
|
|
|
|
|
|
|
|
// to check if we have missed the WP |
|
|
|
|
// ---------------------------- |
|
|
|
|