altos: Switch telemini from v0.1 to v1.0
[fw/altos] / src / ao_btm.c
index 4b3c52092937ddc5f34cae6e00e3012a51ea9a40..44155ec142aa934863daa384500726f503a3af09 100644 (file)
@@ -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);