fixed build error

the prototype extractor was finding the commented out version of
cross_track_test(), which had a different prototype
This commit is contained in:
Andrew Tridgell 2011-11-10 22:01:09 +11:00
parent 34af368b8a
commit 48eb35c45a

View File

@ -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);
} }