altos: Tmega Don't try to log info about more than 12 GPS sats
authorKeith Packard <keithp@keithp.com>
Fri, 24 Jan 2014 17:21:46 +0000 (09:21 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 24 Jan 2014 17:21:46 +0000 (09:21 -0800)
commit94be1e3eb9f94a59522743374d02a1f229266931
treeee86d32c67db79e8d9069e3c5450d3facc8d6e2e
parentdd28429405498fca0788ce9c19093898c84b10e5
altos: Tmega Don't try to log info about more than 12 GPS sats

The mega log format has a single packet for GPS info which holds a
maximum of 12 satellites. Bdale managed to get 14 sats in view, which
ended up crashing the ground station software, and also overflowed the
gps_tracking_data structure.

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