altos/micropeak: Increase boost detect to 30m
authorKeith Packard <keithp@keithp.com>
Mon, 14 Oct 2013 05:05:20 +0000 (22:05 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 14 Oct 2013 05:05:20 +0000 (22:05 -0700)
commit1bd9786802751391cca3b83ac3045029e00e39ee
treed154e47d76517cb86eca380ad0dde7b22b322a57
parente0e98597887a970f31b33895adb77d35e06b34ff
altos/micropeak: Increase boost detect to 30m

This meant increasing the data buffering as well so that we could
reliably capture the flight data back to the ground, even for slow
flights.

And, with the buffer extra large, we work backwards from the current
buffer location to find the last ground location rather than working
forwards from the first buffered location. This ensures that we don't
capture noise before boost and instead capture a nice flight curve instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_microflight.c
src/product/ao_micropeak.h