altos/telegps: Create new flight if current flight is erased
authorKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 06:59:37 +0000 (23:59 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 06:59:37 +0000 (23:59 -0700)
telegps is unique in that USB may be connected while a flight is
active and sensible things should happen. If a flight is being
recorded and gets erased, then a new flight should be started.

This is done by hooking in the flight erase code and calling out to
the tracker code to figure out whether to switch to a new flight or not.

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

No differences found