diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-08 17:46:04 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-08 17:46:04 -0700 | 
| commit | 40544dbfe09c64f7764a5f0686415805611fab25 (patch) | |
| tree | c1fdc34421cefc7af6d4a43ae9de9489aaec837f | |
| parent | a315b200cd0da1a964f5395cd59660be1b49672b (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>
| -rw-r--r-- | src/ao_sample.c | 2 | 
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:  		 * | 
