Merge pull request #10558 from iNavFlight/MrD_Correct-comments-on-OSD-symbols
[inav.git] / src / main / drivers / resource.c
blob20619135236b80c1ef41fc1ef393112264c570f1
1 /*
2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
18 #include "drivers/resource.h"
20 const char * const ownerNames[OWNER_TOTAL_COUNT] = {
21 "FREE", "PWM/IO", "MOTOR", "SERVO", "SOFTSERIAL", "ADC", "SERIAL", "TIMER",
22 "RANGEFINDER", "SYSTEM", "SPI", "QUADSPI", "I2C", "SDCARD", "FLASH", "USB", "BEEPER", "OSD",
23 "BARO", "MPU", "INVERTER", "LED STRIP", "LED", "RECEIVER", "TRANSMITTER",
24 "VTX", "SPI_PREINIT", "COMPASS", "TEMPERATURE", "1-WIRE", "AIRSPEED", "OLED DISPLAY",
25 "PINIO", "IRLOCK"
28 const char * const resourceNames[RESOURCE_TOTAL_COUNT] = {
29 "", // NONE
30 "IN", "OUT", "IN / OUT",
31 "TIMER",
32 "UART TX", "UART RX", "UART TX/RX",
33 "EXTI",
34 "SCL", "SDA",
35 "SCK", "MOSI", "MISO", "CS",
36 "CLK","BK1IO0", "BK1IO1", "BK1IO2", "BK1IO3", "BK1CS",
37 "BK2IO0", "BK2IO1", "BK2IO2", "BK2IO3", "BK2CS",
38 "CH1", "CH2", "CH3", "CH4",
39 "CE"