]> git.gag.com Git - fw/altos/commitdiff
altoslib: Use sequence numbers to track GPS updates to AltosRecord
authorKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 07:24:53 +0000 (00:24 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 14 May 2013 07:24:53 +0000 (00:24 -0700)
State objects now record what GPS sequence ID they have to know when
the GPS data has been updated. Record objects bump the GPS sequence
each time new GPS data is recorded. This way, record objects aren't
modified as they're iterated over to generate the list of state
objects which makes it possible to iterate multiple times and get the
same resulting set of states.

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

No differences found