summaryrefslogtreecommitdiff
path: root/src/cc1111
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-28 15:40:40 -0700
committerKeith Packard <keithp@keithp.com>2011-08-28 15:40:40 -0700
commitcff737c290347b61ba16584880c2f4c436b95042 (patch)
tree4e0a2994191c9ede9dca12ebc3e652b1fdd05e06 /src/cc1111
parent27835686648e14b030f6f7ec1fc0c0fd1c387ea4 (diff)
altos: Remove RSSI reporting from telebt
Telebt uses one LED for bluetooth connection and the other for telem packet reception leaving none for RSSI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111')
-rw-r--r--src/cc1111/ao_pins.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cc1111/ao_pins.h b/src/cc1111/ao_pins.h
index 91719b54..57de67b2 100644
--- a/src/cc1111/ao_pins.h
+++ b/src/cc1111/ao_pins.h
@@ -111,6 +111,7 @@
#define SPI_CS_ON_P0 0
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
@@ -220,6 +221,7 @@
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
@@ -245,6 +247,7 @@
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
@@ -276,6 +279,7 @@
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P2_1
#define HAS_MONITOR 1
+ #define HAS_RSSI 0
#define HAS_AES 1
#endif
@@ -314,6 +318,7 @@
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P1_7
#define HAS_MONITOR 1
+ #define HAS_RSSI 0
#define HAS_AES 1
#endif
@@ -456,6 +461,12 @@
#error Please define HAS_MONITOR
#endif
+#if HAS_MONITOR
+#ifndef HAS_RSSI
+#error Please define HAS_RSSI
+#endif
+#endif
+
#ifndef HAS_ADC
#error Please define HAS_ADC
#endif