summaryrefslogtreecommitdiff
path: root/src/ao.h
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.h
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.h')
-rw-r--r--src/ao.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ao.h b/src/ao.h
index 226f9a22..600c488a 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1367,9 +1367,17 @@ ao_packet_slave_init(uint8_t enable);
/* ao_btm.c */
-/* Shared by USB, so the USB code calls this function */
+/* If bt_link is on P2, this interrupt is shared by USB, so the USB
+ * code calls this function. Otherwise, it's a regular ISR.
+ */
+
void
-ao_btm_isr(void);
+ao_btm_isr(void)
+#if BT_LINK_ON_P1
+ __interrupt 15
+#endif
+ ;
+
void
ao_btm_init(void);