micropeak: Record samples before boost detect
authorKeith Packard <keithp@keithp.com>
Sat, 12 Jan 2013 17:45:31 +0000 (09:45 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 12 Jan 2013 17:45:31 +0000 (09:45 -0800)
commitd374d6be7eb040457f4df6c38b5d057f26ee741c
treea6e1cbdd4386da6df87fe6bfa4552d706aea1387
parent85baf657e7ea6debbed9effc6f8daff7ef09a5d8
micropeak: Record samples before boost detect

This saves a ring of 16 samples while waiting for boost, and then goes
back through those looking for the first sample higher than the ground
and writes the remaining ones to the log so that we get a more
complete log of the flight

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