altos: Use only accel for boost detect without baro
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:26:38 +0000 (22:26 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:26:38 +0000 (22:26 -0700)
commitab10b26a8299670db20618551fcc6a1a09bd34e8
treedb88e80d23f21177d3343af33d5c4584d8d9d540
parent090272ed3d132ae5eafa2f714e447481e2032104
altos: Use only accel for boost detect without baro

Without baro, speed will integrate accel 'forever' and cause speed to
be wildly inaccurate at boost time. Would be awesome to reset speed to
zero at some point.

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