X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fspiradio-v0.1%2Fao_pins.h;h=472da16f9484fbae5f75ef7a4550931f841f30cf;hb=97cf9df882291b9e494b2f64f84eb37357a6ab31;hp=363eafa490804c20ec32f50f239d5b6a3907b9ed;hpb=5ed88fb72c3e3ecf3333c700d838667db71cfbdc;p=fw%2Faltos diff --git a/src/spiradio-v0.1/ao_pins.h b/src/spiradio-v0.1/ao_pins.h index 363eafa4..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 @@ -24,12 +25,15 @@ #define HAS_USB 0 #define HAS_BEEP 0 #define HAS_GPS 0 -#define HAS_SERIAL_0 1 -#define HAS_SERIAL_0_ALT_1 1 +#define HAS_SERIAL_0 0 +#define HAS_SERIAL_0_ALT_1 0 #define HAS_SERIAL_0_HW_FLOW 0 -#define USE_SERIAL_0_STDIN 1 -#define DELAY_SERIAL_0_STDIN 0 -#define HAS_SERIAL_1 0 +#define USE_SERIAL_0_STDIN 0 +#define HAS_SERIAL_1 1 +#define HAS_SERIAL_1_ALT_1 1 +#define HAS_SERIAL_1_HW_FLOW 0 +#define USE_SERIAL_1_STDIN 1 +#define DELAY_SERIAL_1_STDIN 0 #define HAS_ADC 0 #define HAS_DBG 0 #define HAS_EEPROM 0 @@ -38,9 +42,10 @@ #define DBG_ON_P1 0 #define PACKET_HAS_MASTER 0 #define PACKET_HAS_SLAVE 0 -#define AO_LED_RED 2 -#define AO_LED_GREEN 1 -#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