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

@ -132,7 +132,7 @@ void hcsr04_get_distance(volatile int32_t *distance)
last_measurement = current_time;
distance_ptr = distance;
#if 1
#if 0
debug[0] = *distance;
#endif

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