altos/telegps: Keep ring of recent GPS positions to detect motion quickly
authorKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 04:54:13 +0000 (21:54 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 04:54:13 +0000 (21:54 -0700)
Instead of comparing only against the last logged value, keep a ring
and start logging as soon as we move away from the furthest one in the ring.

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

No differences found