altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / teleshield-v0.1 / ao_pins.h
index a907e2a512d0dcba668ca086478ba06e0c25f851..6baa88c856d5bbde59001da0e2cb62e62df897c2 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
        #define HAS_SERIAL_1_ALT_1      1
        #define HAS_SERIAL_1_ALT_2      0
        #define HAS_SERIAL_1_HW_FLOW    1
-       #define USE_SERIAL_STDIN        1
+       #define USE_SERIAL_1_STDIN      1
        #define HAS_SERIAL_0            1
        #define HAS_SERIAL_0_ALT_1      0
        #define HAS_SERIAL_0_ALT_2      1
        #define HAS_SERIAL_0_HW_FLOW    0
        #define HAS_ADC                 0
        #define HAS_DBG                 1
-       #define HAS_EEPROM              0
+       #define HAS_EEPROM              1
        #define HAS_LOG                 0
        #define USE_INTERNAL_FLASH      1
        #define HAS_BTM                 1
@@ -46,6 +47,7 @@
        #define AO_LED_RED              1
        #define AO_LED_GREEN            2
        #define AO_MONITOR_LED          AO_LED_RED
+       #define AO_BT_LED               AO_LED_GREEN
        #define LEDS_AVAILABLE          (AO_LED_RED|AO_LED_GREEN)
        #define SPI_CS_ON_P1            1
        #define SPI_CS_ON_P0            0
@@ -60,6 +62,8 @@
        #define LEGACY_MONITOR          0
        #define HAS_RSSI                0
        #define HAS_AES                 0
+       #define HAS_RADIO               1
+       #define HAS_TELEMETRY           0
 #endif
 
 #if DBG_ON_P1
 #error Please define HAS_SERIAL_1
 #endif
 
-#ifndef USE_SERIAL_STDIN
-#error Please define USE_SERIAL_STDIN
-#endif
-
 #ifndef HAS_ADC
 #error Please define HAS_ADC
 #endif