summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-08 17:46:04 -0700
committerKeith Packard <keithp@keithp.com>2011-08-08 17:46:04 -0700
commit40544dbfe09c64f7764a5f0686415805611fab25 (patch)
treec1fdc34421cefc7af6d4a43ae9de9489aaec837f /src
parenta315b200cd0da1a964f5395cd59660be1b49672b (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/ao_sample.c2
1 files changed, 1 insertions, 1 deletions
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:
*