diff options
| author | Keith Packard <keithp@keithp.com> | 2011-05-06 21:13:19 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-05-06 21:13:19 -0700 |
| commit | 3336d0f726afd1d43cf62280940e5fb91dab2e91 (patch) | |
| tree | 4fa5682401f4afdb2347f488ff012f0dfa7a5e16 /src/ao_pins.h | |
| parent | 19bfa3882a2d95fcade256c2d63ad24f794281e5 (diff) | |
altos: Fix BT link status pin for real TBT hardware
The prototype used P2_1, while the real hardware uses P1_7. Lots of
defines to make this work...
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_pins.h')
| -rw-r--r-- | src/ao_pins.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ao_pins.h b/src/ao_pins.h index 4c31f755..21b99027 100644 --- a/src/ao_pins.h +++ b/src/ao_pins.h @@ -241,6 +241,10 @@ #define SPI_CS_ON_P1 1 #define SPI_CS_ON_P0 0 #define HAS_IGNITE 0 + #define BT_LINK_ON_P2 1 + #define BT_LINK_ON_P1 0 + #define BT_LINK_PIN_INDEX 7 + #define BT_LINK_PIN P2_1 #endif #if defined(TELEBT_V_0_1) @@ -272,6 +276,10 @@ #define M25_MAX_CHIPS 1 #define HAS_ACCEL 0 #define HAS_IGNITE 0 + #define BT_LINK_ON_P2 0 + #define BT_LINK_ON_P1 1 + #define BT_LINK_PIN_INDEX 7 + #define BT_LINK_PIN P1_7 #endif #if DBG_ON_P1 |
