altos: Ignore ejection bumps when doing boost re-detect
authorKeith Packard <keithp@keithp.com>
Sat, 8 Oct 2011 17:51:05 +0000 (11:51 -0600)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Oct 2011 17:59:34 +0000 (11:59 -0600)
An ejection charge looks an awful lot like an extra (really small)
motor burn. Ignore them by averaging the acceleration during
fast/coast using a /64 exponential decay filter.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found