altos: Use PIO(6) on BTM to monitor BT connection. Fix BTM init.
authorKeith Packard <keithp@keithp.com>
Fri, 8 Apr 2011 05:00:38 +0000 (22:00 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 8 Apr 2011 05:00:38 +0000 (22:00 -0700)
commit1a54a58d72147888f783a3caf364479efff4ed9b
tree20d3352c5cc17ac5c55ca52df63a21e95d5d73ed
parentf28efe271f9670473249574f6bcf6e160fe58c7b
altos: Use PIO(6) on BTM to monitor BT connection. Fix BTM init.

PIo(6) appears to be an active-low indication of the Bluetooth
connection status. Hook this up using an interrupt to track the
link state instead of using in-band status messages.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h
src/ao_btm.c
src/ao_pins.h
src/ao_usb.c
src/cc1111.h