RTC6705 resource cleanup.
[betaflight.git] / src / main / drivers / resource.c
blobceabba8a9a381b4d07495a1fa5cc677061843940
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 "SDCARD_CS",
51 "SDCARD_DETECT",
52 "FLASH_CS",
53 "BARO_CS",
54 "GYRO_CS",
55 "OSD_CS",
56 "RX_SPI_CS",
57 "SPI_CS",
58 "GYRO_EXTI",
59 "BARO_EXTI",
60 "COMPASS_EXTI",
61 "USB",
62 "USB_DETECT",
63 "BEEPER",
64 "OSD",
65 "RX_BIND",
66 "INVERTER",
67 "LED_STRIP",
68 "TRANSPONDER",
69 "VTX_POWER",
70 "VTX_CS",
71 "VTX_DATA",
72 "VTX_CLK",
73 "COMPASS_CS",
74 "RX_BIND_PLUG",
75 "ESCSERIAL",
76 "CAMERA_CONTROL",
77 "TIMUP",
78 "RANGEFINDER",
79 "RX_SPI",
80 "PINIO",
81 "USB_MSC_PIN",
82 "MCO",
83 "RX_SPI_BIND",
84 "RX_SPI_LED",
85 "PREINIT",
86 "RX_SPI_EXTI",
87 "RX_SPI_CC2500_TX_EN",
88 "RX_SPI_CC2500_LNA_EN",
89 "RX_SPI_CC2500_ANT_SEL",