[4.4.2] Remove 15 m/s limit on estimated vario (#12788)
[betaflight.git] / src / main / pg / rx_spi_cc2500.h
blob1baf0d2e2df4a6a7cd363851432df3938e451e90
1 /*
2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
8 * any later version.
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
21 #pragma once
23 #include "drivers/io_types.h"
25 #include "pg/pg.h"
27 typedef enum {
28 FRSKY_SPI_A1_SOURCE_VBAT = 0,
29 FRSKY_SPI_A1_SOURCE_EXTADC,
30 FRSKY_SPI_A1_SOURCE_CONST
31 } frSkySpiA1Source_e;
33 typedef struct rxCc2500SpiConfig_s {
34 uint8_t autoBind;
35 uint8_t bindTxId[3];
36 int8_t bindOffset;
37 uint8_t bindHopData[50];
38 uint8_t rxNum;
39 uint8_t a1Source;
40 uint8_t chipDetectEnabled;
41 ioTag_t txEnIoTag;
42 ioTag_t lnaEnIoTag;
43 ioTag_t antSelIoTag;
44 } rxCc2500SpiConfig_t;
46 PG_DECLARE(rxCc2500SpiConfig_t, rxCc2500SpiConfig);