mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Fixed missing baro GPS altitude estimation
This commit is contained in:
parent
4bda34b66b
commit
bbc46d9cad
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ void calculateEstimatedAltitude(timeUs_t currentTimeUs)
|
|||
|
||||
baroAlt -= baroAltOffset;
|
||||
|
||||
int goodGpsSats = 999;
|
||||
int badGpsSats = 0;
|
||||
int goodGpsSats = 0;
|
||||
int badGpsSats = -1;
|
||||
|
||||
if (haveBaroAlt) {
|
||||
goodGpsSats = positionConfig()->altNumSatsGpsUse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue