projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Hook up the P1 ISR for TeleBT v0.1 bt_link line
[fw/altos]
/
src
/
ao.h
diff --git
a/src/ao.h
b/src/ao.h
index 226f9a2248dd0425ebed6bf27593d245ce796384..600c488a00f98aed631f5a717429690e162e4c57 100644
(file)
--- a/
src/ao.h
+++ b/
src/ao.h
@@
-1367,9
+1367,17
@@
ao_packet_slave_init(uint8_t enable);
/* ao_btm.c */
/* 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
void
-ao_btm_isr(void);
+ao_btm_isr(void)
+#if BT_LINK_ON_P1
+ __interrupt 15
+#endif
+ ;
+
void
ao_btm_init(void);
void
ao_btm_init(void);