altosui: Parse and export Max flight log value
[fw/altos] / altosui / Altos.java
index 9d5b2e02369d3eef870ac083be1fd881f2c31e04..1f791da5b8b0f77b7c7dcd8f28ca5aa549d3c6fe 100644 (file)
@@ -34,6 +34,7 @@ public class Altos {
        static final int AO_LOG_GPS_ALT = 'H';
        static final int AO_LOG_GPS_SAT = 'V';
        static final int AO_LOG_GPS_DATE = 'Y';
+       static final int AO_LOG_HEIGHT = 'h';
 
        /* Added for header fields in eeprom files */
        static final int AO_LOG_CONFIG_VERSION = 1000;
@@ -43,10 +44,11 @@ public class Altos {
        static final int AO_LOG_CALLSIGN = 1004;
        static final int AO_LOG_ACCEL_CAL = 1005;
        static final int AO_LOG_RADIO_CAL = 1006;
-       static final int AO_LOG_MANUFACTURER = 1007;
-       static final int AO_LOG_PRODUCT = 1008;
-       static final int AO_LOG_SERIAL_NUMBER = 1009;
-       static final int AO_LOG_SOFTWARE_VERSION = 1010;
+       static final int AO_LOG_MAX_FLIGHT_LOG = 1007;
+       static final int AO_LOG_MANUFACTURER = 2000;
+       static final int AO_LOG_PRODUCT = 2001;
+       static final int AO_LOG_SERIAL_NUMBER = 2002;
+       static final int AO_LOG_SOFTWARE_VERSION = 9999;
 
        /* Added to flag invalid records */
        static final int AO_LOG_INVALID = -1;