altoslib: Handle eeprom tick wrapping
authorKeith Packard <keithp@keithp.com>
Sun, 28 May 2017 21:33:28 +0000 (14:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 28 May 2017 21:33:28 +0000 (14:33 -0700)
commite0f25bcb8c036330e80c1254ab67f0bf323a4a98
tree25cac16ed60a7e8efbf4304d2691bdaa8daf2bb2
parentc075227c3a3c7714fe6f9d48c14dafaf4fed8e5e
altoslib: Handle eeprom tick wrapping

Need to deal with eeprom files with tick values that cross the 16-bit
barrier.
Use 'wide_tick' to order eeprom record.
Remeber 'prev_tick' to order cal data time sequence.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosCalData.java
altoslib/AltosEepromRecord.java
altoslib/AltosEepromRecordSet.java