Browse Source

Plane: fixed build warning

master
Andrew Tridgell 11 years ago
parent
commit
e22ab50b16
  1. 2
      ArduPlane/altitude.pde

2
ArduPlane/altitude.pde

@ -451,5 +451,7 @@ static float lookahead_adjustment(void) @@ -451,5 +451,7 @@ static float lookahead_adjustment(void)
// constrain lookahead to a reasonable limit
return constrain_float(lookahead, 0, 1000.0f);
#else
return 0;
#endif
}

Loading…
Cancel
Save