altos: minor type in comment about accel correction
authorKeith Packard <keithp@keithp.com>
Tue, 9 Aug 2011 00:46:04 +0000 (17:46 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 9 Aug 2011 00:46:04 +0000 (17:46 -0700)
Kurt Roeckx found a typo in the equations describing how the
accelerometer is corrected by the 5V reference measurement.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_sample.c

index 88ba58c..b2b8e9f 100644 (file)
@@ -139,7 +139,7 @@ ao_sample(void)
                 *
                 *                      ao_sample_accel       32767
                 *                    = ------------ *  ------------
-                *                         32737        ao_accel_ref
+                *                         32767        ao_accel_ref
                 *
                 * Multiply through by 32767:
                 *