From: Keith Packard Date: Sun, 9 Sep 2012 20:56:35 +0000 (-0700) Subject: altos/spiradio: Label LEDs so that the radio code can use them X-Git-Tag: 1.1~22 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=0339583996fc57a666f8d3007a0f4b1034039a73 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 --- 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