projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Add SPI-based companion board support
[fw/altos]
/
src
/
ao_btm.c
diff --git
a/src/ao_btm.c
b/src/ao_btm.c
index 4b3c52092937ddc5f34cae6e00e3012a51ea9a40..44155ec142aa934863daa384500726f503a3af09 100644
(file)
--- a/
src/ao_btm.c
+++ b/
src/ao_btm.c
@@
-244,7
+244,13
@@
ao_btm_check_link() __critical
void
ao_btm_isr(void)
+#if BT_LINK_ON_P1
+ __interrupt 15
+#endif
{
+#if BT_LINK_ON_P1
+ P1IF = 0;
+#endif
if (BT_PIFG & (1 << BT_LINK_PIN_INDEX)) {
ao_btm_check_link();
ao_wakeup(&ao_btm_connected);