summaryrefslogtreecommitdiff
path: root/src/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-07 22:00:38 -0700
committerKeith Packard <keithp@keithp.com>2011-04-07 22:00:38 -0700
commit1a54a58d72147888f783a3caf364479efff4ed9b (patch)
tree20d3352c5cc17ac5c55ca52df63a21e95d5d73ed /src/ao_pins.h
parentf28efe271f9670473249574f6bcf6e160fe58c7b (diff)
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>
Diffstat (limited to 'src/ao_pins.h')
-rw-r--r--src/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_pins.h b/src/ao_pins.h
index ed42df8b..1344dcaa 100644
--- a/src/ao_pins.h
+++ b/src/ao_pins.h
@@ -228,6 +228,7 @@
#define HAS_ADC 0
#define HAS_DBG 1
#define HAS_EEPROM 0
+ #define HAS_BTM 1
#define DBG_ON_P1 0
#define DBG_ON_P0 1
#define IGNITE_ON_P2 0