X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Ftelefiretwo-v0.2%2Fao_pins.h;h=01faace2dfad944deff3825f8a5a9fc546c9ad69;hp=f6656f169fa1e345208618c12543aa4f39da5ec2;hb=dbc52686c6d9808275c35e0c9c987cbbd9f7859d;hpb=14fecd672807982ce6232fa3b4bdce0aebe132e8 diff --git a/src/telefiretwo-v0.2/ao_pins.h b/src/telefiretwo-v0.2/ao_pins.h index f6656f16..01faace2 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 @@ -26,6 +27,7 @@ #define HAS_USB 1 #define HAS_BEEP 1 #define BEEPER_CHANNEL 4 +#define BEEPER_TIMER 3 #define HAS_GPS 0 #define HAS_SERIAL_1 0 #define HAS_ADC 1 @@ -109,6 +111,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 +147,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