mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
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:
parent
34af368b8a
commit
48eb35c45a
@ -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…
Reference in New Issue
Block a user