altos/telemini-v2.0: Enable beep config and radio rate config
authorKeith Packard <keithp@keithp.com>
Wed, 9 Jul 2014 06:47:09 +0000 (23:47 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 9 Jul 2014 07:26:03 +0000 (00:26 -0700)
use the smaller pa to altitude table to make room for the new code

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemini-v2.0/Makefile
src/telemini-v2.0/ao_pins.h

index ca69dc415eaf2f1a78ef2e5d4db4b98199b36f21..8657e9a90c82f10d30ca87094ac39ece8bcdbcfd 100644 (file)
@@ -25,7 +25,8 @@ INC = \
        ao_int64.h \
        ao_sample.h \
        ao_exti.h \
        ao_int64.h \
        ao_sample.h \
        ao_exti.h \
-       ao_task.h
+       ao_task.h \
+       altitude-pa-small.h
 
 CORE_SRC = \
        ao_cmd.c \
 
 CORE_SRC = \
        ao_cmd.c \
index c9f9de62743f0f8e20bc7fcd3e85ef7e419af021..948310e553207f196c76d1121217e3a06e6ac0cf 100644 (file)
 #define AO_USB_PULLUP_PIN      0
 #define AO_USB_PULLUP          P1_0
 
 #define AO_USB_PULLUP_PIN      0
 #define AO_USB_PULLUP          P1_0
 
+#define AO_SMALL_ALTITUDE_TABLE        1
+
 #define USB_FORCE_FLIGHT_IDLE  1
 #define HAS_BEEP               1
 #define USB_FORCE_FLIGHT_IDLE  1
 #define HAS_BEEP               1
-#define HAS_BEEP_CONFIG                0
+#define HAS_BEEP_CONFIG                1
 #define HAS_BATTERY_REPORT     1
 #define HAS_GPS                        0
 #define HAS_SERIAL_1           0
 #define HAS_BATTERY_REPORT     1
 #define HAS_GPS                        0
 #define HAS_SERIAL_1           0
@@ -39,7 +41,8 @@
 #define USE_INTERNAL_FLASH     0
 #define HAS_DBG                        0
 #define PACKET_HAS_SLAVE       1
 #define USE_INTERNAL_FLASH     0
 #define HAS_DBG                        0
 #define PACKET_HAS_SLAVE       1
-#define HAS_RADIO_RATE         0       /* not enough space for this */
+#define HAS_RADIO_RATE         1
+#define HAS_TELEMETRY          1
 
 #define AO_LED_RED             2
 #define LEDS_AVAILABLE         AO_LED_RED
 
 #define AO_LED_RED             2
 #define LEDS_AVAILABLE         AO_LED_RED