Fix function brace style
[betaflight.git] / src / main / drivers / resource.c
blob9643ff17386575a46cbd97de62ad67510c75f860
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 #include "platform.h"
23 #include "resource.h"
25 const char * const ownerNames[OWNER_TOTAL_COUNT] = {
26 "FREE",
27 "PWM",
28 "PPM",
29 "MOTOR",
30 "SERVO",
31 "LED",
32 "ADC",
33 "ADC_BATT",
34 "ADC_CURR",
35 "ADC_EXT",
36 "ADC_RSSI",
37 "SERIAL_TX",
38 "SERIAL_RX",
39 "DEBUG",
40 "TIMER",
41 "SONAR_TRIGGER",
42 "SONAR_ECHO",
43 "SYSTEM",
44 "SPI_SCK",
45 "SPI_MISO",
46 "SPI_MOSI",
47 "I2C_SCL",
48 "I2C_SDA",
49 "SDCARD",
50 "SDIO_CK",
51 "SDIO_CMD",
52 "SDIO_D0",
53 "SDIO_D1",
54 "SDIO_D2",
55 "SDIO_D3",
56 "SDCARD_CS",
57 "SDCARD_DETECT",
58 "FLASH_CS",
59 "BARO_CS",
60 "GYRO_CS",
61 "OSD_CS",
62 "RX_SPI_CS",
63 "SPI_CS",
64 "GYRO_EXTI",
65 "BARO_EOC",
66 "COMPASS_EXTI",
67 "USB",
68 "USB_DETECT",
69 "BEEPER",
70 "OSD",
71 "RX_BIND",
72 "INVERTER",
73 "LED_STRIP",
74 "TRANSPONDER",
75 "VTX_POWER",
76 "VTX_CS",
77 "VTX_DATA",
78 "VTX_CLK",
79 "COMPASS_CS",
80 "RX_BIND_PLUG",
81 "ESCSERIAL",
82 "CAMERA_CONTROL",
83 "TIMUP",
84 "RANGEFINDER",
85 "RX_SPI",
86 "PINIO",
87 "USB_MSC_PIN",
88 "MCO",
89 "RX_SPI_BIND",
90 "RX_SPI_LED",
91 "PREINIT",
92 "RX_SPI_EXTI",
93 "RX_SPI_CC2500_TX_EN",
94 "RX_SPI_CC2500_LNA_EN",
95 "RX_SPI_CC2500_ANT_SEL",
96 "QSPI_CLK",
97 "QSPI_BK1IO0",
98 "QSPI_BK1IO1",
99 "QSPI_BK1IO2",
100 "QSPI_BK1IO3",
101 "QSPI_BK1CS",
102 "QSPI_BK2IO0",
103 "QSPI_BK2IO1",
104 "QSPI_BK2IO2",
105 "QSPI_BK2IO3",
106 "QSPI_BK2CS",
107 "BARO_XCLR",
108 "PULLUP",
109 "PULLDOWN",
110 "DSHOT_BITBANG",
111 "SWD",
112 "RX_SPI_EXPRESSLRS_RESET",
113 "RX_SPI_EXPRESSLRS_BUSY",