summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.proto1
-rw-r--r--src/ao_btm.c4
-rw-r--r--src/ao_pins.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.proto b/src/Makefile.proto
index 04b708b2..c86de823 100644
--- a/src/Makefile.proto
+++ b/src/Makefile.proto
@@ -259,6 +259,7 @@ TBT_V_0_1_SRC = \
$(TBT_BASE_SRC) \
$(SPI_DRIVER_SRC) \
$(M25_DRIVER_SRC) \
+ $(BEEP_DRIVER_SRC) \
ao_log_telem.c
#
diff --git a/src/ao_btm.c b/src/ao_btm.c
index 241b3f6a..4b3c5209 100644
--- a/src/ao_btm.c
+++ b/src/ao_btm.c
@@ -166,6 +166,10 @@ ao_btm(void)
*/
ao_delay(AO_SEC_TO_TICKS(3));
+#if HAS_BEEP
+ ao_beep_for(AO_BEEP_MID, AO_MS_TO_TICKS(200));
+#endif
+
/*
* The first time we connect, the BTM-180 comes up at 19200 baud.
* After that, it will remember and come up at 57600 baud. So, see
diff --git a/src/ao_pins.h b/src/ao_pins.h
index 21b99027..4a03ca50 100644
--- a/src/ao_pins.h
+++ b/src/ao_pins.h
@@ -250,7 +250,7 @@
#if defined(TELEBT_V_0_1)
#define HAS_FLIGHT 0
#define HAS_USB 1
- #define HAS_BEEP 0
+ #define HAS_BEEP 1
#define HAS_SERIAL_1 1
#define HAS_SERIAL_1_ALT_1 1
#define HAS_SERIAL_1_ALT_2 0