summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-08 23:47:09 -0700
committerKeith Packard <keithp@keithp.com>2014-07-09 00:26:03 -0700
commit1684291ba9a4f3bc2828e7b079ac27efcba6a163 (patch)
treeeb577cd2cf8306f6eb2b4b082a4ee666070a6f56
parentd926ccfbd4596eb3f981d2fcf8f6fc6ccc427db6 (diff)
altos/telemini-v2.0: Enable beep config and radio rate config
use the smaller pa to altitude table to make room for the new code Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/telemini-v2.0/Makefile3
-rw-r--r--src/telemini-v2.0/ao_pins.h7
2 files changed, 7 insertions, 3 deletions
diff --git a/src/telemini-v2.0/Makefile b/src/telemini-v2.0/Makefile
index ca69dc41..8657e9a9 100644
--- a/src/telemini-v2.0/Makefile
+++ b/src/telemini-v2.0/Makefile
@@ -25,7 +25,8 @@ INC = \
ao_int64.h \
ao_sample.h \
ao_exti.h \
- ao_task.h
+ ao_task.h \
+ altitude-pa-small.h
CORE_SRC = \
ao_cmd.c \
diff --git a/src/telemini-v2.0/ao_pins.h b/src/telemini-v2.0/ao_pins.h
index c9f9de62..948310e5 100644
--- a/src/telemini-v2.0/ao_pins.h
+++ b/src/telemini-v2.0/ao_pins.h
@@ -28,9 +28,11 @@
#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 HAS_BEEP_CONFIG 0
+#define HAS_BEEP_CONFIG 1
#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 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