altoslib: Discard previous flight state on SN change
authorKeith Packard <keithp@keithp.com>
Sat, 15 Dec 2012 03:28:49 +0000 (19:28 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 15 Dec 2012 03:28:49 +0000 (19:28 -0800)
commitf1409311761d65e85ac08c38c9b9a0114cc8f535
treee9df6718dfcd451017cce2362d239021f3f02d7e
parent8dbe8abd034a2d1ee2ec0380ec376722a4ecbd71
altoslib: Discard previous flight state on SN change

A previous change discarded previous *telemetry* state, but failed to
discard any previous overall flight state. This would reset some of
the data fields, but wouldn't reset the GPS state and max measurements.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java