altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / cc1111 / ao_pins.h
index 1bc3d716004503bc4d0e2ad4f463cb53824c1b6c..9d6e1c1d7681576360c2170abf25b1ba709a5700 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
@@ -20,6 +21,8 @@
 
 #define HAS_RADIO              1
 #define DISABLE_LOG_SPACE      1
+#define AO_VALUE_32            0
+#define HAS_WIDE_GPS           0
 
 #if defined(TELEMETRUM_V_1_0)
        /* Discontinued and was never built with CC1111 chips needing this */
@@ -59,6 +62,8 @@
        #define HAS_TELEMETRY           1
        #define HAS_RADIO_RATE          0       /* not enough space for this */
        #define HAS_MUTEX_TRY           0
+       #define HAS_TASK_INFO           0       /* not enough space for this either */
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_FULL
 #endif
 
 #if defined(TELEMETRUM_V_1_1)
        #define HAS_TELEMETRY           1
        #define HAS_RADIO_RATE          0       /* not enough space for this */
        #define HAS_MUTEX_TRY           0
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_FULL
 #endif
 
 #if defined(TELEMETRUM_V_1_2)
        #define HAS_TELEMETRY           1
        #define HAS_RADIO_RATE          0       /* not enough space for this */
        #define HAS_MUTEX_TRY           0
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_FULL
 #endif
 
 #if defined(TELEDONGLE_V_0_2)
        #define HAS_MONITOR             0
        #define HAS_TELEMETRY           1
        #define HAS_RADIO_RATE          0       /* not enough space for this */
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_TINY
 #endif
 
 #if defined(TELENANO_V_0_1)
        #define HAS_TELEMETRY           1
        #define HAS_RADIO_RATE          0       /* not enough space for this */
        #define AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX        ((uint32_t) 127 * (uint32_t) 1024)
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_FULL
 #endif
 
 #if defined(TELEDONGLE_V_0_1)