1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Fix jumpy baro debug (#13217)

* Fix jumpy baro debug

* Remove duplicate debug
This commit is contained in:
Mark Haslinghuis 2023-12-11 00:37:29 +01:00 committed by GitHub
parent 31c5beaf78
commit 4f5bb1abc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,6 @@ void calculateEstimatedAltitude(void)
DEBUG_SET(DEBUG_ALTITUDE, 3, estimatedVario);
#endif
DEBUG_SET(DEBUG_RTH, 1, lrintf(displayAltitudeCm / 10.0f));
DEBUG_SET(DEBUG_BARO, 3, lrintf(baroAltCm / 10.0f));
}
#endif //defined(USE_BARO) || defined(USE_GPS)