altoslib: Add Ms5607 constructor that just takes config_data
[fw/altos] / altoslib / AltosEepromChunk.java
index 4f95663690ab43edbd3cd0e40f5acbe4c56a154e..32d9f8eab2efa5066b44213c7881607b003b5f04 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -81,13 +82,17 @@ public class AltosEepromChunk {
                case AltosLib.AO_LOG_FORMAT_TELEMETRUM:
                        eeprom = new AltosEepromMetrum2(this, offset);
                        break;
-               case AltosLib.AO_LOG_FORMAT_TELEMINI:
+               case AltosLib.AO_LOG_FORMAT_TELEMINI2:
+               case AltosLib.AO_LOG_FORMAT_TELEMINI3:
                case AltosLib.AO_LOG_FORMAT_EASYMINI:
                        eeprom = new AltosEepromMini(this, offset);
                        break;
                case AltosLib.AO_LOG_FORMAT_TELEGPS:
                        eeprom = new AltosEepromGPS(this, offset);
                        break;
+               case AltosLib.AO_LOG_FORMAT_TELEFIRETWO:
+                       eeprom = new AltosEepromFireTwo(this, offset);
+                       break;
                default:
                        throw new ParseException("unknown eeprom format " + log_format, 0);
                }