altoslib: Use GPS seconds as an additional sort key for TeleGPS eeprom
authorKeith Packard <keithp@keithp.com>
Thu, 12 Jun 2014 01:48:11 +0000 (18:48 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Jun 2014 01:48:11 +0000 (18:48 -0700)
commita8325483adb8d9ffda62d3f4900cf52bde70ff62
treec567d87873a137cad9feecfc5b86cdda964062f8
parentdb2443fdbf65b65703217174303027c439124a83
altoslib: Use GPS seconds as an additional sort key for TeleGPS eeprom

Long idle periods with TeleGPS can easily overflow 16 bits of tick
count. Using the GPS seconds provides an additional sort which will
span the tick wrap-around.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEeprom.java
altoslib/AltosEepromGPS.java
altoslib/AltosEepromIterable.java