altosui: Prevent voice altitude data from queueing up
authorKeith Packard <keithp@keithp.com>
Sun, 5 Sep 2010 08:21:14 +0000 (01:21 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 5 Sep 2010 08:21:14 +0000 (01:21 -0700)
When flight status changes rapidly, the queue of voice data can get
quite long. This change does two things -- first, it remembers when
the altitude reporting happens due to flight events and delays the
periodic reporting until a suitable time after that, second it ensures
that the voice data has all been delivered before generating a new
altitude report.

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

No differences found