Browse Source

fixed build error

the prototype extractor was finding the commented out version of
cross_track_test(), which had a different prototype
master
Andrew Tridgell 13 years ago
parent
commit
2d204b727b
  1. 4
      ArduCopter/navigation.pde

4
ArduCopter/navigation.pde

@ -212,9 +212,9 @@ static void update_crosstrack(void)
} }
} }
static long cross_track_test() static int32_t cross_track_test()
{ {
long temp = target_bearing - original_target_bearing; int32_t temp = target_bearing - original_target_bearing;
temp = wrap_180(temp); temp = wrap_180(temp);
return abs(temp); return abs(temp);
} }

Loading…
Cancel
Save