altos: Don't switch to flight 0 when log fills in flight
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jul 2016 20:26:22 +0000 (13:26 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jul 2016 20:26:22 +0000 (13:26 -0700)
commitfe13426daff08f2beface2c1906f9a6184f6b987
treecb803bca2dc097dbd0dbc18ec9570788ba1b8376
parent71ddb973ff75680e78fbbef7978ab3893c367629
altos: Don't switch to flight 0 when log fills in flight

If the log is full at startup, we want to transmit flight 0 to let the
ground station know. However, we don't want to switch to flight 0 in
flight, so save the initial telemetry flight number (0 or the real
flight number) at startup and use that throughout the flight.

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