altos: re-write a bit of GPS parsing code to reduce size
authorKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:28:38 +0000 (18:28 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:44:26 +0000 (18:44 -0700)
commitc2f2f519dbc8ce233ab36222088c1be6b1362f01
tree6c331c067dd742e707bfc9e56edf83c4b1acf83d
parent7bcf25606cd5892d58295649f3d475d284494ee8
altos: re-write a bit of GPS parsing code to reduce size

Use a local variable while computing hdop.
Place the next incoming character in data instead of pdata.

Saved a surprising amount of memory.

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