return -1;
}
- public void update_state(AltosState state) {
+ public void update_state(AltosFlightListener state) {
super.update_state(state);
switch (cmd()) {
}
public AltosEepromRecord next() {
- if (start + length + length < eeprom.data.size())
- return new AltosEepromRecordMini(eeprom, start + length);
- return null;
+ int s = next_start();
+ if (s < 0)
+ return null;
+ return new AltosEepromRecordMini(eeprom, s);
}
public AltosEepromRecordMini(AltosEepromNew eeprom, int start) {