mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Plane: fixed build warning
This commit is contained in:
parent
144dcb4552
commit
e22ab50b16
@ -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…
Reference in New Issue
Block a user