From: Keith Packard Date: Tue, 9 Aug 2011 00:46:04 +0000 (-0700) Subject: altos: minor type in comment about accel correction X-Git-Tag: 0.9.6.0~55 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=40544dbfe09c64f7764a5f0686415805611fab25;hp=a315b200cd0da1a964f5395cd59660be1b49672b 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 --- 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: *