X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fspiradio-v0.1%2Fao_pins.h;h=472da16f9484fbae5f75ef7a4550931f841f30cf;hb=97cf9df882291b9e494b2f64f84eb37357a6ab31;hp=f38aade6c6ec5ac7ba8ed4981a608c6bef8f7543;hpb=aea10c107dff2643677a9c8d1fc41e14f4a66049;p=fw%2Faltos diff --git a/src/spiradio-v0.1/ao_pins.h b/src/spiradio-v0.1/ao_pins.h index f38aade6..472da16f 100644 --- a/src/spiradio-v0.1/ao_pins.h +++ b/src/spiradio-v0.1/ao_pins.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -41,9 +42,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