summaryrefslogtreecommitdiff
path: root/src/ao_btm.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-06 22:42:32 -0700
committerKeith Packard <keithp@keithp.com>2011-05-06 22:42:32 -0700
commit22e3ac0eb014b8255029763ae8180ad3527ba306 (patch)
treed44ad40559f3c289df1aa5c9eabbf33be029fe0f /src/ao_btm.c
parent6d858b64ee0e8c227c149d2af6d2d634536964f4 (diff)
altos: Add beeper to TBT v0.1
It's available, let's use it. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_btm.c')
-rw-r--r--src/ao_btm.c4
1 files changed, 4 insertions, 0 deletions
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