mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Cleaned up 'getEstimatedVario()'.
This commit is contained in:
parent
6bada9c5e9
commit
1812eee8fd
2 changed files with 4 additions and 5 deletions
|
@ -188,12 +188,9 @@ int32_t getEstimatedAltitudeCm(void)
|
|||
return estimatedAltitudeCm;
|
||||
}
|
||||
|
||||
// This should be removed or fixed, but it would require changing a lot of other things to get rid of.
|
||||
#ifdef USE_VARIO
|
||||
int16_t getEstimatedVario(void)
|
||||
{
|
||||
#ifdef USE_VARIO
|
||||
return estimatedVario;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue