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

Fix DEBUG_ALTITUDE (#12213)

This commit is contained in:
Jan Post 2023-01-19 05:57:29 +01:00 committed by GitHub
parent fd54774155
commit 89afb99dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,9 +203,11 @@ void calculateEstimatedAltitude(void)
// *** set debugs
DEBUG_SET(DEBUG_ALTITUDE, 0, (int32_t)(100 * gpsTrust));
DEBUG_SET(DEBUG_ALTITUDE, 1, gpsAltCm);
DEBUG_SET(DEBUG_ALTITUDE, 2, displayAltitudeCm);
DEBUG_SET(DEBUG_ALTITUDE, 3, zeroedAltitudeCm);
DEBUG_SET(DEBUG_ALTITUDE, 1, baroAltCm);
DEBUG_SET(DEBUG_ALTITUDE, 2, gpsAltCm);
#ifdef USE_VARIO
DEBUG_SET(DEBUG_ALTITUDE, 3, estimatedVario);
#endif
DEBUG_SET(DEBUG_RTH, 1, displayAltitudeCm);
DEBUG_SET(DEBUG_BARO, 3, baroAltCm);
}