* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_1;
+package org.altusmetrum.altoslib_2;
import java.io.*;
import java.util.*;
gps.day = day();
break;
case AltosLib.AO_LOG_GPS_SAT:
- state.set_tick(tick);
gps = state.make_temp_gps(true);
int n = nsat();
}
static public LinkedList<AltosEeprom> read(FileInputStream input) {
- LinkedList<AltosEeprom> megas = new LinkedList<AltosEeprom>();
+ LinkedList<AltosEeprom> metrums = new LinkedList<AltosEeprom>();
for (;;) {
try {
if (line == null)
break;
try {
- AltosEepromMetrum2 mega = new AltosEepromMetrum2(line);
- if (mega.cmd != AltosLib.AO_LOG_INVALID)
- megas.add(mega);
+ AltosEepromMetrum2 metrum = new AltosEepromMetrum2(line);
+
+ if (metrum.cmd != AltosLib.AO_LOG_INVALID)
+ metrums.add(metrum);
} catch (Exception e) {
System.out.printf ("exception\n");
}
}
}
- return megas;
+ return metrums;
}
}