altos: Continuously update ground state while on pad (trac #42)
authorKeith Packard <keithp@keithp.com>
Wed, 11 Jul 2012 05:09:44 +0000 (22:09 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 11 Jul 2012 05:09:44 +0000 (22:09 -0700)
commitaa305da7e5dc182c99c09e422c053d85ed48d5d5
treec817e5b2fa86074eb22afe115ba38ab74d3774a1
parent0b92164143aaf0d2aa3d5d742484391c16545289
altos: Continuously update ground state while on pad (trac #42)

Average data for 5 seconds, wait 5 seconds and if still in pad mode,
replace the existing data with the new data. This should avoid
averaging in boost data while still keeping things reasonably current.

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