From 40544dbfe09c64f7764a5f0686415805611fab25 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 8 Aug 2011 17:46:04 -0700 Subject: [PATCH] altos: minor type in comment about accel correction Kurt Roeckx found a typo in the equations describing how the accelerometer is corrected by the 5V reference measurement. Signed-off-by: Keith Packard --- src/ao_sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ao_sample.c b/src/ao_sample.c index 88ba58c5..b2b8e9f6 100644 --- a/src/ao_sample.c +++ b/src/ao_sample.c @@ -139,7 +139,7 @@ ao_sample(void) * * ao_sample_accel 32767 * = ------------ * ------------ - * 32737 ao_accel_ref + * 32767 ao_accel_ref * * Multiply through by 32767: * -- 2.30.2