From 8164cd95db62e4564b3a9ba5c06a74c870c03841 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 28 May 2012 11:46:51 -0600 Subject: [PATCH] altos: Remove debug printf from accel auto-cal Otherwise, this goes way too slow Signed-off-by: Keith Packard --- src/core/ao_config.c | 2 -- 1 file changed, 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--; -- 2.30.2