altos: use %lu for APRS altitude in sprintf
[fw/altos] / src / teleterra-v0.2 / ao_pins.h
index 29b97385a4ae229772c1e84c57499588382001bb..5bcf2c8a383c654d4db625e916127a0fa9cbd93b 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
 #ifdef TELETERRA_V_0_2
        #define HAS_FLIGHT              0
        #define HAS_USB                 1
+       #define HAS_RADIO               1
        #define HAS_BEEP                1
        #define HAS_GPS                 1
        #define HAS_SERIAL_1            1
        #define HAS_ADC                 0
-       #define USE_SERIAL_STDIN        0
+       #define HAS_LCD                 1
        #define HAS_EEPROM              1
        #define HAS_LOG                 1
        #define USE_INTERNAL_FLASH      0
        #define HAS_P2_ISR              1
 
        #define BATTERY_PIN             5
-       
+       #define HAS_TELEMETRY           0
+
+       #define AO_VALUE_32             0
+
+       #define AO_LOG_FORMAT           AO_LOG_FORMAT_TELEMETRY
 #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