altos: average 512 accel/baro samples at startup instead of 1000
authorKeith Packard <keithp@keithp.com>
Sat, 15 Jan 2011 19:26:31 +0000 (11:26 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 16 Jan 2011 22:35:29 +0000 (14:35 -0800)
commit118fe84c9ff1cc9d1653e67a2315e22e19d60a14
treed53c7b770776adecbf0235e9dde8906366e42961
parent8a775b8f9ecefa143050653d74dfd218b32b9bb5
altos: average 512 accel/baro samples at startup instead of 1000

This lets us use a simple shift instead of a divide, saving a huge
amount of code space.

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