+#if BT_LINK_ON_P1
+ if ((P1DIR & (1 << 6)) == 0)
+ ao_panic(AO_PANIC_BT);
+ if ((P1DIR & (1 << 7)) != 0)
+ ao_panic(AO_PANIC_BT);
+ if ((P0SEL & ((1 << 5) | (1 << 4) | (1 << 3) | (1 << 2))) !=
+ ((1 << 5) | (1 << 4) | (1 << 3) | (1 << 2)))
+ ao_panic(AO_PANIC_BT);
+#endif