X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelefiretwo-v0.2%2Fao_pins.h;h=469e9937b89d9214631e5393abde407b6bf734b1;hb=5a26df7db9453bf0596f729a23efb90e5e8a63c7;hp=f6656f169fa1e345208618c12543aa4f39da5ec2;hpb=14fecd672807982ce6232fa3b4bdce0aebe132e8;p=fw%2Faltos diff --git a/src/telefiretwo-v0.2/ao_pins.h b/src/telefiretwo-v0.2/ao_pins.h index f6656f16..469e9937 100644 --- a/src/telefiretwo-v0.2/ao_pins.h +++ b/src/telefiretwo-v0.2/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 @@ -109,6 +110,7 @@ #define AO_CC1200_SPI_CS_PIN 7 #define AO_CC1200_SPI_BUS AO_SPI_2_PB13_PB14_PB15 #define AO_CC1200_SPI stm_spi2 +#define AO_CC1200_SPI_SPEED AO_SPI_SPEED_FAST #define AO_CC1200_INT_PORT (&stm_gpiob) #define AO_CC1200_INT_PIN (11) @@ -144,12 +146,12 @@ #define LEDS_AVAILABLE (LED_PORT_0_MASK|LED_PORT_1_MASK) -/* Alarm 2 */ +/* Alarm A */ #define AO_SIREN #define AO_SIREN_PORT (&stm_gpiob) #define AO_SIREN_PIN 8 -/* Alarm 1 */ +/* Alarm B */ #define AO_STROBE #define AO_STROBE_PORT (&stm_gpiob) #define AO_STROBE_PIN 9