summaryrefslogtreecommitdiff
path: root/src/ao_btm.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-06 22:59:15 -0700
committerKeith Packard <keithp@keithp.com>2011-05-06 22:59:15 -0700
commit8be559baa979c15e78f8dba7879b383dbe3936d3 (patch)
treec3d44a0a1019d846fb7bb21edff7f0fcf304b2a3 /src/ao_btm.c
parent23f441b95e55fbee709382b05d325bc021285766 (diff)
altos: Hook up the P1 ISR for TeleBT v0.1 bt_link line
Otherwise, we're heading off into the weeds... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_btm.c')
-rw-r--r--src/ao_btm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ao_btm.c b/src/ao_btm.c
index 490b2667..172004e9 100644
--- a/src/ao_btm.c
+++ b/src/ao_btm.c
@@ -253,6 +253,9 @@ ao_btm_check_link() __critical
void
ao_btm_isr(void)
+#if BT_LINK_ON_P1
+ __interrupt 15
+#endif
{
if (BT_PIFG & (1 << BT_LINK_PIN_INDEX)) {
ao_btm_check_link();