projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7d3af3d
)
altoslib: Correct tick wrapping in eeprom file reading
author
Keith Packard
<keithp@keithp.com>
Tue, 3 Sep 2013 23:32:37 +0000
(17:32 -0600)
committer
Keith Packard
<keithp@keithp.com>
Tue, 3 Sep 2013 23:32:37 +0000
(17:32 -0600)
Just need to signal that at least one record has been read to know
when to start checking for wrap
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosEepromIterable.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosEepromIterable.java
b/altoslib/AltosEepromIterable.java
index 8e6a23139d4d5a5a000e0c6978f0b55054880276..1e0f7f7570b7ac8b30e9f556fdf6997d3367c40b 100644
(file)
--- a/
altoslib/AltosEepromIterable.java
+++ b/
altoslib/AltosEepromIterable.java
@@
-73,7
+73,9
@@
class AltosEepromOrderedIterator implements Iterator<AltosEeprom> {
tick = t;
}
olist.add(new AltosEepromOrdered(e, index++, tick));
tick = t;
}
olist.add(new AltosEepromOrdered(e, index++, tick));
+ first = false;
}
}
+
oiterator = olist.iterator();
}
oiterator = olist.iterator();
}