summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-28 11:46:51 -0600
committerKeith Packard <keithp@keithp.com>2012-05-28 11:46:51 -0600
commit8164cd95db62e4564b3a9ba5c06a74c870c03841 (patch)
tree6ff08de3298fe8d2398d71462f6d7d6fa4597803
parentee61fb8ccb47f94b7c39e803f5a0248840d1eea6 (diff)
altos: Remove debug printf from accel auto-cal
Otherwise, this goes way too slow Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/core/ao_config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/ao_config.c b/src/core/ao_config.c
index 55ec9f40..76a8ed4a 100644
--- a/src/core/ao_config.c
+++ b/src/core/ao_config.c
@@ -256,8 +256,6 @@ ao_config_accel_calibrate_auto(char *orientation) __reentrant
while (i) {
ao_sleep(DATA_TO_XDATA(&ao_sample_data));
while (i && cal_data_ring != ao_sample_data) {
- int16_t accel = ao_data_accel(&ao_data_ring[cal_data_ring]);
- printf ("accel %d\n", accel);
accel_total += (int32_t) ao_data_accel(&ao_data_ring[cal_data_ring]);
cal_data_ring = ao_data_ring_next(cal_data_ring);
i--;