altos: Fix BT link status pin for real TBT hardware
[fw/altos] / altosui / Altos.java
index 5df004c5b0dfda75b127eaab5429eb3901beba7a..6a2d9b9b202ff2ce0dddff09526316da14ef3616 100644 (file)
@@ -36,7 +36,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';
+       static final int AO_LOG_PRESSURE = 'P';
 
        /* Added for header fields in eeprom files */
        static final int AO_LOG_CONFIG_VERSION = 1000;
@@ -301,4 +301,14 @@ public class Altos {
 
        public final static int product_any = 0x10000;
        public final static int product_basestation = 0x10000 + 1;
+
+       static String bt_product_telebt() {
+               if (load_library())
+                       return libaltosConstants.BLUETOOTH_PRODUCT_TELEBT;
+               return "TeleBT";
+       }
+
+       public final static String bt_product_telebt = bt_product_telebt();
+
+       public static AltosBTKnown bt_known = new AltosBTKnown();
 }