mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
removed InCircle variable from spiral.c, not used anywhere
This commit is contained in:
@@ -90,13 +90,9 @@ bool_t SpiralNav(void)
|
||||
TransCurrentY = estimator_y - WaypointY(Center);
|
||||
DistanceFromCenter = sqrt(TransCurrentX*TransCurrentX+TransCurrentY*TransCurrentY);
|
||||
|
||||
bool_t InCircle = TRUE;
|
||||
float DistanceStartEstim;
|
||||
float CircleAlpha;
|
||||
|
||||
if(DistanceFromCenter > Spiralradius)
|
||||
InCircle = FALSE;
|
||||
|
||||
switch(CSpiralStatus)
|
||||
{
|
||||
case Outside:
|
||||
|
||||
Reference in New Issue
Block a user