Disable debug output.
This commit is contained in:
parent
b6a8e20d8c
commit
f5d9589f0a
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue