1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Disable debug output.

This commit is contained in:
Dominic Clifton 2014-08-24 22:53:06 +01:00
parent b6a8e20d8c
commit f5d9589f0a
2 changed files with 2 additions and 2 deletions

View file

@ -488,7 +488,7 @@ void calculateEstimatedAltitude(uint32_t currentTime)
accAlt = accAlt * barometerConfig->baro_cf_alt + (float)BaroAlt * (1.0f - barometerConfig->baro_cf_alt); // complementary filter for altitude estimation (baro & acc)
vel += vel_acc;
#if 1
#if 0
debug[1] = accSum[2] / accSumCount; // acceleration
debug[2] = vel; // velocity
debug[3] = accAlt; // height