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/>.
91 OWNER_RX_SPI_CC2500_TX_EN
,
92 OWNER_RX_SPI_CC2500_LNA_EN
,
93 OWNER_RX_SPI_CC2500_ANT_SEL
,
100 OWNER_QUADSPI_BK2IO0
,
101 OWNER_QUADSPI_BK2IO1
,
102 OWNER_QUADSPI_BK2IO2
,
103 OWNER_QUADSPI_BK2IO3
,
110 OWNER_RX_SPI_EXPRESSLRS_RESET
,
111 OWNER_RX_SPI_EXPRESSLRS_BUSY
,
115 typedef struct resourceOwner_s
{
116 resourceOwner_e owner
;
117 uint8_t resourceIndex
;
120 extern const char * const ownerNames
[OWNER_TOTAL_COUNT
];
122 #define RESOURCE_INDEX(x) (x + 1)
123 #define RESOURCE_SOFT_OFFSET 10