altos: Re-send previous GPS position in APRS if lock is lost
authorKeith Packard <keithp@keithp.com>
Mon, 10 Feb 2014 06:53:05 +0000 (22:53 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 10 Feb 2014 06:53:05 +0000 (22:53 -0800)
commit5001a0f882af53dde33fc531215944c9d727baf4
treea78e1f00503df524680cd17d1a7ad8243a1db63f
parent864d1e2282ac1d241478cf663ee24112c9d3dc37
altos: Re-send previous GPS position in APRS if lock is lost

APRS radios often show only the last received APRS packet, which means
that erasing the last known GPS position when we lose lock by sending
0/0/0 is unhelpful. Instead, just send the last known position, and
make sure that we send 0/0/0 before we're locked the first time.

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