1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Reworked altitude estimation. Made it work when ACC is disabled.

This commit is contained in:
mikeller 2017-03-29 02:01:09 +13:00
parent 9053feb418
commit 6a03b48e7f
21 changed files with 127 additions and 135 deletions

View file

@ -183,7 +183,8 @@ uint32_t fixedMillis = 0;
baro_t baro;
int32_t vario = 0;
uint32_t getEstimatedAltitude() { return 0; }
uint32_t getEstimatedVario() { return 0; }
uint32_t millis(void) {
return fixedMillis;