summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-09-09 13:56:35 -0700
committerKeith Packard <keithp@keithp.com>2012-09-09 13:56:35 -0700
commit0339583996fc57a666f8d3007a0f4b1034039a73 (patch)
treec0d35f3699e66597efae11dd74210b64e311f0a7 /src
parent3fa71c497a5bf576974e70af06762f75734e6699 (diff)
altos/spiradio: Label LEDs so that the radio code can use them
Mark which should be on for TX and which for RX Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/spiradio-v0.1/ao_pins.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/spiradio-v0.1/ao_pins.h b/src/spiradio-v0.1/ao_pins.h
index f38aade6..cf01c9c6 100644
--- a/src/spiradio-v0.1/ao_pins.h
+++ b/src/spiradio-v0.1/ao_pins.h
@@ -41,9 +41,10 @@
#define DBG_ON_P1 0
#define PACKET_HAS_MASTER 0
#define PACKET_HAS_SLAVE 0
-#define AO_LED_RED 1
-#define AO_LED_GREEN 2
-#define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN)
+#define AO_LED_TX 1
+#define AO_LED_RX 2
+#define AO_LED_RED AO_LED_TX
+#define LEDS_AVAILABLE (AO_LED_TX|AO_LED_RX)
#define HAS_EXTERNAL_TEMP 0
#define HAS_ACCEL_REF 0
#define SPI_CS_ON_P1 1