From 0339583996fc57a666f8d3007a0f4b1034039a73 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 9 Sep 2012 13:56:35 -0700 Subject: [PATCH] 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 --- src/spiradio-v0.1/ao_pins.h | 7 ++++--- 1 file 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 -- 2.30.2