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)
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/>.
25 // Used in MSP. Append at end.
27 RX_SPI_NRF24_V202_250K
= 0,
30 RX_SPI_NRF24_SYMA_X5C
,
38 RX_SPI_A7105_FLYSKY_2A
,
44 RX_SPI_RECEIVED_NONE
= 0,
49 // RC channels in AETR order
71 // RC channels as used by deviation
72 #define RC_CHANNEL_RATE RC_SPI_AUX1
73 #define RC_CHANNEL_FLIP RC_SPI_AUX2
74 #define RC_CHANNEL_PICTURE RC_SPI_AUX3
75 #define RC_CHANNEL_VIDEO RC_SPI_AUX4
76 #define RC_CHANNEL_HEADLESS RC_SPI_AUX5
77 #define RC_CHANNEL_RTH RC_SPI_AUX6 // return to home
79 bool rxSpiInit(const rxConfig_t
*rxConfig
, rxRuntimeConfig_t
*rxRuntimeConfig
);